Skip to content

Commit

Permalink
Suppress unused id warning (#217)
Browse files Browse the repository at this point in the history
Use `id` in the code to suppress the warning.
  • Loading branch information
yoonghm authored Oct 4, 2023
1 parent 0a1f3a6 commit b412f69
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ fn main() -> Result<()> {
})?;

for person in person_iter {
println!("Found person {:?}", person.unwrap());
let p = person.unwrap();
println!("ID: {}", p.id);
println!("Found person {:?}", p);
}

// query table by arrow
Expand Down

0 comments on commit b412f69

Please sign in to comment.