Fix typos in RequestParts docstrings (#1147)

This commit is contained in:
Dominik Spicher 2022-07-08 15:26:34 +02:00 committed by GitHub
parent 605980b21c
commit bc55362ba8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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
}