Skip to content

Commit

Permalink
chore: fix doc issue about bstr
Browse files Browse the repository at this point in the history
  • Loading branch information
polazarus committed Jan 30, 2025
1 parent c1eb6ad commit 71bddbb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/bytes/raw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,15 @@ pub type Inline = inline::Inline<INLINE_CAPACITY>;
/// # Notable features
///
/// `HipByt` dereferences through the [`Deref`] trait to either `&[u8]` ot
/// [`&bstr::Bstr`] if the feature flag `bstr` is set. [`bstr`] allows for
/// [`&bstr::BStr`] if the feature flag `bstr` is set. [`bstr`] allows for
/// efficient string-like manipulation on non-guaranteed UTF-8 data.
///
/// In the same manner, [`HipByt::mutate`] returns a mutable handle [`RefMut`]
/// to a `Vec<[u8]>` or a [`bstr::BString`] if the flag `bstr` is set.
///
/// [`&bstr::Bstr`]: bstr::Bstr
/// [`bstr`]: https://crates.io/crates/bstr
/// [`&bstr::BStr`]: https://docs.rs/bstr/latest/bstr/struct.BStr.html
/// [`bstr::BString`]: https://docs.rs/bstr/latest/bstr/struct.BString.html
/// [`Deref`]: core::ops::Deref
/// [`RefMut`]: super::RefMut
#[repr(C)]
Expand Down

0 comments on commit 71bddbb

Please sign in to comment.