Skip to content

Commit 2958f19

Browse files
Apply suggestions from code review
Co-authored-by: Jonas Platte <[email protected]>
1 parent 677c346 commit 2958f19

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

axum/src/extract/ws.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -621,12 +621,12 @@ pub enum Message {
621621
///
622622
/// After sending a close frame,
623623
/// you may still read messages,
624-
/// but any attempts to send a message will error.
624+
/// but any attempts to send another message will error.
625625
/// After receiving a close frame,
626-
/// the server will automatically respond with a close frame if necessary
626+
/// axum will automatically respond with a close frame if necessary
627627
/// (you do not have to deal with this yourself).
628628
/// Since no further messages will be received,
629-
/// so you may either do nothing
629+
/// you may either do nothing
630630
/// or explicitly drop the connection.
631631
Close(Option<CloseFrame<'static>>),
632632
}

0 commit comments

Comments
 (0)