Typos in docstrings (#886)

This commit is contained in:
Tv 2022-03-24 13:56:05 -06:00 committed by GitHub
parent 6aa678e8f2
commit dee4e73af4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -314,7 +314,7 @@ pub struct WebSocket {
impl WebSocket { impl WebSocket {
/// Receive another message. /// 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<Result<Message, Error>> { pub async fn recv(&mut self) -> Option<Result<Message, Error>> {
self.next().await self.next().await
} }

View File

@ -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. //! extensions.
//! //!
//! # Building integrations for axum //! # Building integrations for axum