Skip to content

Commit

Permalink
Squashed, I say
Browse files Browse the repository at this point in the history
  • Loading branch information
p-avital authored May 29, 2024
1 parent c245fd1 commit 05e284a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bytes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ impl<'a> Bytes<'a> {
self.subslice(range);
self
}
#[cfg(feature = "alloc")]
/// Splits the slice at `index`.
/// ```
/// let data = b"Hello there".as_slice();
Expand Down

0 comments on commit 05e284a

Please sign in to comment.