mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-28 01:52:57 +01:00
fix doc string
This commit is contained in:
parent
c3f295182f
commit
38fe8bebec
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user