Skip to content

Commit fb632c9

Browse files
committed
make fmt_macros and rustdoc have standard doc attributes
1 parent 52888a7 commit fb632c9

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

src/libfmt_macros/lib.rs

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

src/librustdoc/lib.rs

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

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

0 commit comments

Comments
 (0)