mirror of
https://github.com/tokio-rs/axum.git
synced 2025-09-27 04:50:31 +00:00
Fix typos in RequestParts docstrings (#1147)
This commit is contained in:
parent
605980b21c
commit
bc55362ba8
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user