diff --git a/src/router.rs b/src/router.rs index 2009d9510..ec07d3c58 100644 --- a/src/router.rs +++ b/src/router.rs @@ -37,7 +37,10 @@ impl Router { self.0.recognize(path).is_some() } - /// Build named resource path + /// Build named resource path. + /// + /// Check [`HttpRequest::url_for()`](../struct.HttpRequest.html#method.url_for) + /// for detailed information. pub fn resource_path(&self, name: &str, elements: U) -> Result where U: IntoIterator,