From 42bd852117b4b76e5fab0e0fd5ab66dbb71c3e40 Mon Sep 17 00:00:00 2001 From: Celeste Date: Sun, 13 Feb 2022 16:10:41 +0000 Subject: [PATCH] one does not simply eat sweets with wrappers on --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }