Skip to content

Commit

Permalink
Fix inaccuracy in docs
Browse files Browse the repository at this point in the history
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
  • Loading branch information
Gelbpunkt authored and vilgotf committed Aug 4, 2024
1 parent 41470d5 commit a2b10f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/proto/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ impl TryFrom<u16> for CloseCode {
///
/// Payloads can be created by using the `From<T>` implementations. All of them
/// use [`BytesMut`] under the hood, except when created using [`From<Bytes>`]
/// with a reference counter greater than one.
/// with a reference counter greater than one or when using a static reference.
///
/// Sending the payloads is zero-copy, except when sending a payload backed by
/// [`Bytes`] as a client to a server. The use of [`BytesMut`] as the backing
Expand Down

0 comments on commit a2b10f2

Please sign in to comment.