Fix typos in RequestParts docstrings (#1147)

This commit is contained in:
Dominik Spicher
2022-07-10 14:31:20 +02:00
committed by David Pedersen
parent a4a298cf88
commit d11f3fbeea
+2 -2
View File
@@ -176,7 +176,7 @@ impl<B> RequestParts<B> {
Ok(req)
}
/// Gets a reference the request method.
/// Gets a reference to the request method.
pub fn method(&self) -> &Method {
&self.method
}
@@ -186,7 +186,7 @@ impl<B> RequestParts<B> {
&mut self.method
}
/// Gets a reference the request URI.
/// Gets a reference to the request URI.
pub fn uri(&self) -> &Uri {
&self.uri
}