mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-18 00:00:15 +02:00
Typos in docstrings (#886)
This commit is contained in:
@@ -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<Result<Message, Error>> {
|
||||
self.next().await
|
||||
}
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user