Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f082d05

Browse files
joshtriplettgitbot
authored and
gitbot
committedMar 11, 2025
Add doc aliases for BStr and BString
1 parent 24951f7 commit f082d05

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed
 

‎alloc/src/bstr.rs

+1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ use crate::vec::Vec;
4646
#[unstable(feature = "bstr", issue = "134915")]
4747
#[repr(transparent)]
4848
#[derive(Clone)]
49+
#[doc(alias = "BString")]
4950
pub struct ByteString(pub Vec<u8>);
5051

5152
impl ByteString {

‎core/src/bstr.rs

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ use crate::{fmt, hash};
3939
///
4040
#[unstable(feature = "bstr", issue = "134915")]
4141
#[repr(transparent)]
42+
#[doc(alias = "BStr")]
4243
pub struct ByteStr(pub [u8]);
4344

4445
impl ByteStr {

0 commit comments

Comments
 (0)
Failed to load comments.