From 6021609ee307876b732521fdcf7acdc4ce67c475 Mon Sep 17 00:00:00 2001 From: Benjamin Fry Date: Thu, 22 Jun 2017 09:09:05 -0700 Subject: [PATCH] mark get_param_indexes hidden --- lib/src/router/route.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/src/router/route.rs b/lib/src/router/route.rs index 0b9b66de..9ba6bbcb 100644 --- a/lib/src/router/route.rs +++ b/lib/src/router/route.rs @@ -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();