diff options
| author | Mason Reed <mason@vector35.com> | 2024-10-19 21:05:08 -0400 |
|---|---|---|
| committer | Mason Reed <mason@vector35.com> | 2024-10-19 21:05:08 -0400 |
| commit | 47fb9dbf43fb069635d421dabd16f7a721ec1d9a (patch) | |
| tree | 1e1c774f9e1ac358f32a42b9e395a6f77def3d64 /rust/examples/dwarf | |
| parent | b42157dd6b361bf9ab38fc7b010870a1d143ba46 (diff) | |
Fix some rust warnings and remove mention of `binja-rs`
Diffstat (limited to 'rust/examples/dwarf')
| -rw-r--r-- | rust/examples/dwarf/dwarf_import/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/examples/dwarf/dwarf_import/src/lib.rs b/rust/examples/dwarf/dwarf_import/src/lib.rs index e5508b40..b04c04db 100644 --- a/rust/examples/dwarf/dwarf_import/src/lib.rs +++ b/rust/examples/dwarf/dwarf_import/src/lib.rs @@ -91,7 +91,7 @@ fn calculate_total_unit_bytes<R: ReaderType>( { let mut iter = dwarf.units(); let mut total_size: usize = 0; - while let (Ok(Some(header))) = iter.next() + while let Ok(Some(header)) = iter.next() { total_size += header.length_including_self(); } |
