1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-24 07:53:00 +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)]
/// Get a reference to the Params object.
/// Params is a container for url query parameters.
/// url query parameters.
pub fn query(&self) -> &HashMap<String, String> {
if self.extensions().get::<Query>().is_none() {
let mut query = HashMap::new();