From b18bdad6c94a8e234108d531f0c480c7104abebe Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Sun, 22 Feb 2026 17:08:21 -0800 Subject: [Rust] Misc documentation and cleanup --- rust/examples/dump_type_library.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'rust/examples') 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, -- cgit v1.3.1