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:
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