fix warnings
This commit is contained in:
1 parent
ee763d52e1
commit
d6b2145aa7
1 file changed
-7
@@ -201,13 +201,6 @@ impl Route {
|
|||||||
None => quote! {},
|
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 {
|
impl ToTokens for Route {
|
||||||
|
|||||||
Reference in new issue
Block a user