1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-24 16:02:59 +01:00

fix doc string

This commit is contained in:
Nikolay Kim 2018-06-17 08:57:51 +06:00
parent c3f295182f
commit 38fe8bebec

View File

@ -381,8 +381,7 @@ impl<S> HttpRequest<S> {
} }
#[doc(hidden)] #[doc(hidden)]
/// Get a reference to the Params object. /// url query parameters.
/// Params is a container for url query parameters.
pub fn query(&self) -> &HashMap<String, String> { pub fn query(&self) -> &HashMap<String, String> {
if self.extensions().get::<Query>().is_none() { if self.extensions().get::<Query>().is_none() {
let mut query = HashMap::new(); let mut query = HashMap::new();