From dee4e73af4d32497e3c7a161809af7bd60b47922 Mon Sep 17 00:00:00 2001 From: Tv Date: Thu, 24 Mar 2022 13:56:05 -0600 Subject: [PATCH] Typos in docstrings (#886) --- axum/src/extract/ws.rs | 2 +- axum/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/axum/src/extract/ws.rs b/axum/src/extract/ws.rs index 8923ad92..eef1f681 100644 --- a/axum/src/extract/ws.rs +++ b/axum/src/extract/ws.rs @@ -314,7 +314,7 @@ pub struct WebSocket { impl WebSocket { /// Receive another message. /// - /// Returns `None` if the stream stream has closed. + /// Returns `None` if the stream has closed. pub async fn recv(&mut self) -> Option> { self.next().await } diff --git a/axum/src/lib.rs b/axum/src/lib.rs index e7fd2880..635cabdb 100644 --- a/axum/src/lib.rs +++ b/axum/src/lib.rs @@ -262,7 +262,7 @@ //! # }; //! ``` //! -//! The downside to this approach is that its a little more verbose than using +//! The downside to this approach is that it's a little more verbose than using //! extensions. //! //! # Building integrations for axum