diff --git a/src/router.rs b/src/router.rs index 2009d951..ec07d3c5 100644 --- a/src/router.rs +++ b/src/router.rs @@ -37,7 +37,10 @@ impl<S> Router<S> { 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<U, I>(&self, name: &str, elements: U) -> Result<String, UrlGenerationError> where U: IntoIterator<Item=I>,