mark get_param_indexes hidden

This commit is contained in:
Benjamin Fry 2017-06-22 09:09:05 -07:00
parent 37c3905323
commit 6021609ee3
1 changed files with 1 additions and 0 deletions

View File

@ -196,6 +196,7 @@ impl Route {
// 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
/// dynamic segments in this route.
#[doc(hidden)]
pub fn get_param_indexes(&self, uri: &URI) -> Vec<(usize, usize)> {
let route_segs = self.uri.segments();
let uri_segs = uri.segments();