Skip to content

Commit 18be3a9

Browse files
committed
---
yaml --- r: 162035 b: refs/heads/auto c: c67dbed h: refs/heads/master i: 162033: 861a254 162031: 9e300c8 v: v3
1 parent e769317 commit 18be3a9

File tree

33 files changed

+146
-348
lines changed

33 files changed

+146
-348
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1010
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1111
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1212
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
13-
refs/heads/auto: 3dd5443ebd2e34baf51010245a6bce6f12552a22
13+
refs/heads/auto: c67dbed11cce16fdd6999c10960bfd3ad5911945
1414
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1515
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1616
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336

branches/auto/src/doc/reference.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -777,8 +777,13 @@ metadata that influences the behavior of the compiler.
777777

778778
```{.rust}
779779
# #![allow(unused_attribute)]
780-
// Crate name
781-
#![crate_name = "projx"]
780+
// Crate ID
781+
#![crate_id = "projx#2.5"]
782+
783+
// Additional metadata attributes
784+
#![desc = "Project X"]
785+
#![license = "BSD"]
786+
#![comment = "This is a comment on Project X."]
782787
783788
// Specify the output type
784789
#![crate_type = "lib"]
@@ -1956,7 +1961,7 @@ An example of attributes:
19561961

19571962
```{.rust}
19581963
// General metadata applied to the enclosing module or crate.
1959-
#![crate_type = "lib"]
1964+
#![license = "BSD"]
19601965
19611966
// A function marked as a unit test
19621967
#[test]

branches/auto/src/liballoc/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
5959
#![crate_name = "alloc"]
6060
#![experimental]
61+
#![license = "MIT/ASL2"]
6162
#![crate_type = "rlib"]
6263
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
6364
html_favicon_url = "http://www.rust-lang.org/favicon.ico",

0 commit comments

Comments
 (0)