From bc55362ba8b19e0c1ad5260a68a250d09aeb8281 Mon Sep 17 00:00:00 2001 From: Dominik Spicher Date: Fri, 8 Jul 2022 15:26:34 +0200 Subject: [PATCH] Fix typos in RequestParts docstrings (#1147) --- axum-core/src/extract/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/axum-core/src/extract/mod.rs b/axum-core/src/extract/mod.rs index a1406f50..2316633b 100644 --- a/axum-core/src/extract/mod.rs +++ b/axum-core/src/extract/mod.rs @@ -176,7 +176,7 @@ impl RequestParts { 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 RequestParts { &mut self.method } - /// Gets a reference the request URI. + /// Gets a reference to the request URI. pub fn uri(&self) -> &Uri { &self.uri }