mirror of https://github.com/rwf2/Rocket.git
mark get_param_indexes hidden
This commit is contained in:
parent
37c3905323
commit
6021609ee3
|
@ -196,6 +196,7 @@ impl Route {
|
||||||
// TODO: Don't return a Vec...take in an &mut [&'a str] (no alloc!)
|
// TODO: Don't return a Vec...take in an &mut [&'a str] (no alloc!)
|
||||||
/// Given a URI, returns a vector of slices of that URI corresponding to the
|
/// Given a URI, returns a vector of slices of that URI corresponding to the
|
||||||
/// dynamic segments in this route.
|
/// dynamic segments in this route.
|
||||||
|
#[doc(hidden)]
|
||||||
pub fn get_param_indexes(&self, uri: &URI) -> Vec<(usize, usize)> {
|
pub fn get_param_indexes(&self, uri: &URI) -> Vec<(usize, usize)> {
|
||||||
let route_segs = self.uri.segments();
|
let route_segs = self.uri.segments();
|
||||||
let uri_segs = uri.segments();
|
let uri_segs = uri.segments();
|
||||||
|
|
Loading…
Reference in New Issue