We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70d2eb7 commit 96c6a48Copy full SHA for 96c6a48
alloc/src/bstr.rs
@@ -46,6 +46,7 @@ use crate::vec::Vec;
46
#[unstable(feature = "bstr", issue = "134915")]
47
#[repr(transparent)]
48
#[derive(Clone)]
49
+#[doc(alias = "BString")]
50
pub struct ByteString(pub Vec<u8>);
51
52
impl ByteString {
core/src/bstr.rs
@@ -39,6 +39,7 @@ use crate::{fmt, hash};
39
///
40
41
42
+#[doc(alias = "BStr")]
43
pub struct ByteStr(pub [u8]);
44
45
impl ByteStr {
0 commit comments