Skip to content

Commit

Permalink
Fix typos in RequestParts docstrings (#1147)
Browse files Browse the repository at this point in the history
  • Loading branch information
dspicher authored and davidpdrsn committed Jul 10, 2022
1 parent a4a298c commit d11f3fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions axum-core/src/extract/mod.rs
Expand Up @@ -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
}
Expand All @@ -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
}
Expand Down

0 comments on commit d11f3fb

Please sign in to comment.