diff options
| author | Mason Reed <mason@vector35.com> | 2026-02-22 17:08:21 -0800 |
|---|---|---|
| committer | Mason Reed <35282038+emesare@users.noreply.github.com> | 2026-02-23 00:09:44 -0800 |
| commit | b18bdad6c94a8e234108d531f0c480c7104abebe (patch) | |
| tree | b0edb86cfae52c37635ef0b5cac491220bc3ef24 /rust/examples | |
| parent | dbd54d67a6d523f64615f653d82d8224cd09870a (diff) | |
[Rust] Misc documentation and cleanup
Diffstat (limited to 'rust/examples')
| -rw-r--r-- | rust/examples/dump_type_library.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/rust/examples/dump_type_library.rs b/rust/examples/dump_type_library.rs index 9e6b19c2..6dd51ece 100644 --- a/rust/examples/dump_type_library.rs +++ b/rust/examples/dump_type_library.rs @@ -36,8 +36,7 @@ fn main() { type_lib_header_path ); let type_printer = CoreTypePrinter::default(); - let empty_bv = - BinaryView::from_data(&FileMetadata::new(), &[]).expect("Failed to create empty view"); + let empty_bv = BinaryView::from_data(&FileMetadata::new(), &[]); let printed_types = type_printer .print_all_types( all_types, |
