Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions library/core/src/ascii.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ use crate::iter::FusedIterator;
use crate::num::NonZero;

mod ascii_char;
#[doc(alias("AsciiChar"))]
#[unstable(feature = "ascii_char", issue = "110998")]
pub use ascii_char::AsciiChar as Char;

Expand Down
12 changes: 12 additions & 0 deletions tests/rustdoc-js-std/doc-alias-use.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// AsciiChar has a doc alias on its reexport and we
// want to make sure that actually works correctly,
// since apperently there are no other tests for this.

const EXPECTED = [
{
'query': 'AsciiChar',
'others': [
{ 'path': 'core::ascii', 'name': 'Char' },
],
},
];
Loading