mirror of https://github.com/rwf2/Rocket.git
Hide the routes method.
This commit is contained in:
parent
ce34ea82a6
commit
41832a57d1
|
@ -566,6 +566,7 @@ impl Rocket {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Retrieves all of the mounted routes.
|
/// Retrieves all of the mounted routes.
|
||||||
|
#[doc(hidden)]
|
||||||
#[inline(always)]
|
#[inline(always)]
|
||||||
pub fn routes<'a>(&'a self) -> impl Iterator<Item=&'a Route> + 'a {
|
pub fn routes<'a>(&'a self) -> impl Iterator<Item=&'a Route> + 'a {
|
||||||
self.router.routes()
|
self.router.routes()
|
||||||
|
|
Loading…
Reference in New Issue