about summary refs log tree commit diff
path: root/library/alloc/src
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2025-01-22 09:19:24 +0200
committerJosh Triplett <josh@joshtriplett.org>2025-01-22 09:19:24 +0200
commit022e7c0bb90e1f7e3e485f16c5c3df616113940f (patch)
tree29d109e763b4324f5680ff1f00e9603f0af1dd4b /library/alloc/src
parent22a4ec39fbb53fd39179961a19c643d600bbeebd (diff)
downloadrust-022e7c0bb90e1f7e3e485f16c5c3df616113940f.tar.gz
rust-022e7c0bb90e1f7e3e485f16c5c3df616113940f.zip
Add doc aliases for BStr and BString
Diffstat (limited to 'library/alloc/src')
-rw-r--r--library/alloc/src/bstr.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/alloc/src/bstr.rs b/library/alloc/src/bstr.rs
index acb60d9ca86..61e61019b50 100644
--- a/library/alloc/src/bstr.rs
+++ b/library/alloc/src/bstr.rs
@@ -46,6 +46,7 @@ use crate::vec::Vec;
 #[unstable(feature = "bstr", issue = "134915")]
 #[repr(transparent)]
 #[derive(Clone)]
+#[doc(alias = "BString")]
 pub struct ByteString(pub Vec<u8>);
 
 impl ByteString {