fix warnings

This commit is contained in:
Evan Almloff committed 2023-05-13 17:49:58 -05:00
1 parent ee763d52e1
commit d6b2145aa7
1 file changed
-7
-7
View File
@@ -201,13 +201,6 @@ impl Route {
None => quote! {},
}
}
pub fn ends_with_catch_all(&self) -> bool {
self.route_segments
.last()
.map(|seg| matches!(seg, RouteSegment::CatchAll(..)))
.unwrap_or(false)
}
}
impl ToTokens for Route {