# HG changeset patch # User Emmanuel Gil Peyrot # Date 1609805692 -3600 # Node ID 4d91790cf8ab10271878ccdda87d5e91a96bad58 # Parent fc937d93a57c24604c8c84a53d48eb75c5f22187 Fix dump_ecl example. diff --git a/examples/dump_ecl.rs b/examples/dump_ecl.rs --- a/examples/dump_ecl.rs +++ b/examples/dump_ecl.rs @@ -33,7 +33,7 @@ fn main() { let ecl_filename = Path::new(&args[1]); // Open the ECL file. - let buf = load_file_into_vec(ecl_filename); + let buf = load_file_into_vec(ecl_filename).unwrap(); let (_, ecl) = Ecl::from_slice(&buf).unwrap(); for (i, main) in ecl.mains.iter().enumerate() {