Clippy clean
This commit is contained in:
parent
997faa9c71
commit
3a5cc3aae2
|
@ -386,6 +386,6 @@ pub fn get_type_path_and_name(ty: &Type) -> GeneratorResult<(&TypePath, String)>
|
|||
.unwrap(),
|
||||
)),
|
||||
Type::Group(TypeGroup { elem, .. }) => get_type_path_and_name(&elem),
|
||||
_ => return Err(Error::new_spanned(ty, "Invalid type").into()),
|
||||
_ => Err(Error::new_spanned(ty, "Invalid type").into()),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user