We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa0cccb commit f338b5cCopy full SHA for f338b5c
src/fields.rs
@@ -56,10 +56,4 @@ impl Field {
56
Field::Default { name, .. } => name,
57
}
58
59
-
60
- pub fn get_type(&self) -> &Type {
61
- match self {
62
- Field::Default { ty, .. } => ty,
63
- }
64
65
src/string_matching.rs
@@ -3,8 +3,6 @@ use crate::nom_packages::generate_match_expression;
3
use itertools::Itertools;
4
use proc_macro2::TokenStream;
5
use quote::{quote_spanned, ToTokens};
6
-use syn::parse::Parse;
7
-use syn::spanned::Spanned;
8
use syn::{Error, LitStr, Result};
9
10
pub fn parse_string_match(fields: &[Field], literal: LitStr) -> Result<Vec<TokenStream>> {
0 commit comments