1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-11-03 15:39:50 +00: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();