Skip to content

Commit b412f69

Browse files
authored
Suppress unused id warning (#217)
Use `id` in the code to suppress the warning.
1 parent 0a1f3a6 commit b412f69

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,9 @@ fn main() -> Result<()> {
6565
})?;
6666

6767
for person in person_iter {
68-
println!("Found person {:?}", person.unwrap());
68+
let p = person.unwrap();
69+
println!("ID: {}", p.id);
70+
println!("Found person {:?}", p);
6971
}
7072

7173
// query table by arrow

0 commit comments

Comments
 (0)