From 20dd51cee43e88467d48af9c3d4662dbc2d82ce3 Mon Sep 17 00:00:00 2001 From: Celeste Date: Sat, 29 Jan 2022 10:38:04 +0000 Subject: [PATCH] i probably brained it --- src/main.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index 43d34f3..74f899c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -27,11 +27,10 @@ fn load_macro(set: String, mac: String, inputs: String, vars: Vec) -> St let mut keg: String = "".to_owned(); let mut coont = 0; for input in based { - println!("{}", inputs); let x; - if contents.contains(")!!") { + if inputs.contains(")!!") { x = format!("{}![[hex]]", input); - } else if contents.contains(")..") { + } else if inputs.contains(")..") { x = format!("var!{}", input); } else { x = input.to_string();