fix clippy
This commit is contained in:
1 parent
41f9c480c8
commit
aa26c086de
3 files changed
+5
-9
No files matched your search
@@ -117,7 +117,7 @@ impl Route {
|
||||
f.attrs
|
||||
.iter()
|
||||
.any(|attr| attr.path.is_ident("child"))
|
||||
|| f.ident.as_ref().unwrap().to_string() == "child"
|
||||
|| *f.ident.as_ref().unwrap() == "child"
|
||||
});
|
||||
match child_field{
|
||||
Some(child) => {
|
||||
|
||||
Reference in new issue
Block a user