refactor: remove unused code

This commit is contained in:
Kogia-sima 2020-12-24 17:41:51 +09:00
parent 348a3825f2
commit 92c8f8a852
1 changed files with 0 additions and 3 deletions

View File

@ -20,7 +20,6 @@ struct DeriveTemplateOptions {
delimiter: Option<LitChar>,
escape: Option<LitBool>,
rm_whitespace: Option<LitBool>,
type_: Option<LitStr>,
}
impl DeriveTemplateOptions {
@ -49,8 +48,6 @@ impl DeriveTemplateOptions {
self.escape = Some(s.parse::<LitBool>()?);
} else if key == "rm_whitespace" {
self.rm_whitespace = Some(s.parse::<LitBool>()?);
} else if key == "type" {
self.type_ = Some(s.parse::<LitStr>()?);
} else {
return Err(syn::Error::new(
key.span(),