Skip to content

Commit d14f659

Browse files
authored
Rollup merge of rust-lang#142788 - lolbinarycat:core-AsciiChar-alias, r=tgross35
add doc(alias("AsciiChar")) to core::ascii::Char Added it to the reexported, which is intended rustdoc behavior, but is apparently untested, so I also added a test for it.
2 parents daf8ed1 + 1b9e0d3 commit d14f659

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/ascii.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ use crate::iter::FusedIterator;
1515
use crate::num::NonZero;
1616

1717
mod ascii_char;
18+
#[doc(alias("AsciiChar"))]
1819
#[unstable(feature = "ascii_char", issue = "110998")]
1920
pub use ascii_char::AsciiChar as Char;
2021

0 commit comments

Comments
 (0)