From 71bddbb4abd7c17aee0d18ebf3ce4a8df005adcb Mon Sep 17 00:00:00 2001 From: polazarus Date: Thu, 30 Jan 2025 21:26:27 +0100 Subject: [PATCH] chore: fix doc issue about bstr --- src/bytes/raw.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/bytes/raw.rs b/src/bytes/raw.rs index 945222c..4bd4017 100644 --- a/src/bytes/raw.rs +++ b/src/bytes/raw.rs @@ -85,13 +85,15 @@ pub type Inline = inline::Inline; /// # 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)]