From a18bd5dac0e3a7952cef8a59da8a3da44bc30eec Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Wed, 6 Dec 2017 16:34:54 -0800 Subject: [PATCH] add doc ref --- src/router.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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,