Skip to content

Commit e621116

Browse files
committed
make fmt_macros and rustdoc have standard doc attributes
1 parent 3a325c6 commit e621116

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

src/libfmt_macros/lib.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@
1818
#![experimental]
1919
#![crate_type = "rlib"]
2020
#![crate_type = "dylib"]
21+
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
22+
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
23+
html_root_url = "http://doc.rust-lang.org/nightly/",
24+
html_playground_url = "http://play.rust-lang.org/")]
25+
2126
#![feature(macro_rules, globs, import_shadowing)]
2227
pub use self::Piece::*;
2328
pub use self::Position::*;

src/librustdoc/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
#![experimental]
1313
#![crate_type = "dylib"]
1414
#![crate_type = "rlib"]
15+
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
16+
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
17+
html_root_url = "http://doc.rust-lang.org/nightly/",
18+
html_playground_url = "http://play.rust-lang.org/")]
1519

1620
#![allow(unknown_features)]
1721
#![feature(globs, if_let, macro_rules, phase, slicing_syntax, tuple_indexing)]

0 commit comments

Comments
 (0)