Skip to content

Commit

Permalink
doc: update BumpBox docs for `BumpBox<str>
Browse files Browse the repository at this point in the history
  • Loading branch information
bluurryy committed Oct 15, 2024
1 parent a7daee3 commit 0810fad
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/bump_box.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,16 @@ pub(crate) use slice_initializer::BumpBoxSliceInitializer;
/// [`split_first`](Self::split_first),
/// [`split_last`](Self::split_last) and new methods like
/// [`partition`](Self::partition).
/// - `BumpBox<str>` and `BumpBox<[u8]>` provide methods to convert between the two like
/// - `BumpBox<str>` provide methods from `String` like
/// <code>[from_utf8](Self::from_utf8)([_unchecked](Self::from_utf8_unchecked))</code>,
/// [`into_boxed_bytes`](Self::into_boxed_bytes),
/// [`into_boxed_str`](Self::into_boxed_str) and
/// [`into_boxed_str_unchecked`](Self::into_boxed_str_unchecked).
/// [`as_mut_bytes`](Self::as_mut_bytes),
/// [`pop`](Self::pop),
/// [`truncate`](Self::truncate),
/// [`clear`](Self::clear),
/// [`remove`](Self::remove),
/// [`retain`](Self::retain) and
/// [`drain`](Self::drain).
/// - `BumpBox<MaybeUninit<T>>` and `BumpBox<[MaybeUninit<T>]>` provide methods like
/// [`init`](Self::init),
/// [`assume_init`](Self::assume_init),
Expand Down

0 comments on commit 0810fad

Please sign in to comment.