Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
alexheretic authored and daniel-abramov committed Dec 17, 2024
1 parent 6825fec commit 9f52eda
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/protocol/frame/utf8.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ impl std::ops::Deref for Utf8Bytes {

/// ```
/// use tungstenite::protocol::frame::Utf8Bytes;
///
///
/// /// Example fn that takes a str slice
/// fn a(s: &str) {}
///
///
/// let data = Utf8Bytes::from_static("foo123");
///
///
/// // auto-deref as arg
/// a(&data);
///
///
/// // deref to str methods
/// assert_eq!(data.len(), 6);
/// ```
Expand Down

0 comments on commit 9f52eda

Please sign in to comment.