From 75cf559ac56c256421e09d1214a3b45722524b2c Mon Sep 17 00:00:00 2001 From: Theodore Brockman Date: Sat, 23 Mar 2024 12:32:49 -0400 Subject: [PATCH] Remove unused method. --- core/src/options.rs | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/core/src/options.rs b/core/src/options.rs index 390a627..6f72b51 100644 --- a/core/src/options.rs +++ b/core/src/options.rs @@ -65,21 +65,6 @@ impl PackageConfig { let path = self.dest.join("template").join(path); std::fs::read_to_string(path).ok() } - - pub fn get_derive_tokenstream(&self) -> TokenStream { - let extras: TokenStream = self - .derives - .iter() - .map(|d| { - if let Ok(d) = d.trim().parse::() { - quote! { , #d } - } else { - return TokenStream::new(); - } - }) - .collect(); - return extras; - } } pub struct OutputConfig {