We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 255aa22 commit 8d18f3dCopy full SHA for 8d18f3d
library/core/src/ascii.rs
@@ -15,6 +15,7 @@ use crate::iter::FusedIterator;
15
use crate::num::NonZero;
16
17
mod ascii_char;
18
+#[doc(alias("AsciiChar"))]
19
#[unstable(feature = "ascii_char", issue = "110998")]
20
pub use ascii_char::AsciiChar as Char;
21
tests/rustdoc-js-std/doc-alias-use.js
@@ -0,0 +1,12 @@
1
+// AsciiChar has a doc alias on its reexport and we
2
+// want to make sure that actually works correctly,
3
+// since apperently there are no other tests for this.
4
+
5
+const EXPECTED = [
6
+ {
7
+ 'query': 'AsciiChar',
8
+ 'others': [
9
+ { 'path': 'core::ascii', 'name': 'Char' },
10
+ ],
11
+ },
12
+];
0 commit comments