diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2018-04-19 17:46:13 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2018-04-21 22:02:53 +0200 |
| commit | 57bcabc1082c948e2cfda3f005c41d8236ead7a4 (patch) | |
| tree | 744cbb891ca3bf1b6648699f4257c36f0390d01e /src/libstd | |
| parent | 654cb84852a0485146f95bbebe14ac75b7ee111a (diff) | |
| download | rust-57bcabc1082c948e2cfda3f005c41d8236ead7a4.tar.gz rust-57bcabc1082c948e2cfda3f005c41d8236ead7a4.zip | |
Generate alias file
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/lib.rs | 1 | ||||
| -rw-r--r-- | src/libstd/primitive_docs.rs | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index 7d896695311..579fd0eaf3f 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -316,6 +316,7 @@ #![feature(doc_spotlight)] #![cfg_attr(test, feature(update_panic_count))] #![cfg_attr(windows, feature(used))] +#![feature(doc_alias)] #![default_lib_allocator] diff --git a/src/libstd/primitive_docs.rs b/src/libstd/primitive_docs.rs index ce4bbfffc2e..e2fcfb7c4b1 100644 --- a/src/libstd/primitive_docs.rs +++ b/src/libstd/primitive_docs.rs @@ -9,6 +9,8 @@ // except according to those terms. #[doc(primitive = "bool")] +#[doc(alias = "true")] +#[doc(alias = "false")] // /// The boolean type. /// @@ -68,6 +70,7 @@ mod prim_bool { } #[doc(primitive = "never")] +#[doc(alias = "!")] // /// The `!` type, also called "never". /// |
