From d11f3fbeea1b6d6d220110ab6bc54281b7a77348 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 a1406f5080..2316633be5 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 }