fix clippy

This commit is contained in:
Evan Almloff committed 2023-07-07 18:41:22 -07:00
1 parent 41f9c480c8
commit aa26c086de
3 files changed
+5 -9

No files matched your search

+1 -1
View File
@@ -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) => {