From f1a64adfd9f73581eb02b95c8b675e50fdbbe52d Mon Sep 17 00:00:00 2001 From: greg Date: Sun, 6 May 2018 19:41:13 -0700 Subject: [PATCH] Kill a few lines of code --- schala-codegen/src/lib.rs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/schala-codegen/src/lib.rs b/schala-codegen/src/lib.rs index 1054379..0c02bf2 100644 --- a/schala-codegen/src/lib.rs +++ b/schala-codegen/src/lib.rs @@ -65,20 +65,10 @@ pub fn derive_programming_language_interface(input: TokenStream) -> TokenStream let mut chain = pass_chain![self, options; #(#passes),* ]; chain(input) } - fn get_passes(&self) -> Vec { vec![ #(#pass_names.to_string()),* ] } } }; - tokens.into() } - -#[cfg(test)] -mod tests { - #[test] - fn it_works() { - assert_eq!(2 + 2, 4); - } -}