Skip to content

Commit

Permalink
Remove unused method.
Browse files Browse the repository at this point in the history
  • Loading branch information
tbrockman committed Mar 23, 2024
1 parent 45a3d62 commit 75cf559
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions core/src/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::<TokenStream>() {
quote! { , #d }
} else {
return TokenStream::new();
}
})
.collect();
return extras;
}
}

pub struct OutputConfig {
Expand Down

0 comments on commit 75cf559

Please sign in to comment.