diff --git a/src/main.rs b/src/main.rs index 719cc3c..86da4fa 100644 --- a/src/main.rs +++ b/src/main.rs @@ -176,7 +176,7 @@ fn load_macro(set: String, mac: String, inputs: String, vars: Vec) -> St if inputs.contains(") begin") { let coolbeans: Vec<&str> = inputs.split(") begin ").collect(); - println!("{}", coolbeans.last()); + println!("{}", coolbeans.last().unwrap()); } return contents.to_string(); }