diff options
| author | Oliver Middleton <olliemail27@gmail.com> | 2017-03-12 02:54:43 +0000 |
|---|---|---|
| committer | Oliver Middleton <olliemail27@gmail.com> | 2017-03-12 02:54:43 +0000 |
| commit | 74ccbec3ac80f5fe24a75403c90516b2a999aef6 (patch) | |
| tree | 2d8e54cffa1653b83b6c287741c52a7c60a52e0d /src/libproc_macro | |
| parent | 5d0be0d72a8fe87c1a038f014beb7f64ba249b29 (diff) | |
Add doc attributes to proc_macro crate
This adds the same logo and favicon as the rest of the std docs.
Diffstat (limited to 'src/libproc_macro')
| -rw-r--r-- | src/libproc_macro/lib.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libproc_macro/lib.rs b/src/libproc_macro/lib.rs index 0d2a467b577..0ab0550469b 100644 --- a/src/libproc_macro/lib.rs +++ b/src/libproc_macro/lib.rs @@ -29,6 +29,13 @@ #![crate_type = "dylib"] #![deny(warnings)] #![deny(missing_docs)] +#![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", + html_favicon_url = "https://doc.rust-lang.org/favicon.ico", + html_root_url = "https://doc.rust-lang.org/nightly/", + html_playground_url = "https://play.rust-lang.org/", + issue_tracker_base_url = "https://github.com/rust-lang/rust/issues/", + test(no_crate_inject, attr(deny(warnings))), + test(attr(allow(dead_code, deprecated, unused_variables, unused_mut))))] #![feature(rustc_private)] #![feature(staged_api)] |
