Skip to content

Commit

Permalink
Suppress unused id warning
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 2, 2023
1 parent 80c66ee commit 2502475
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 2502475

Please sign in to comment.