about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-12-30 07:16:48 -0800
committerbors <bors@rust-lang.org>2013-12-30 07:16:48 -0800
commit6db7e35c599f55699534747099c757dfead9a884 (patch)
tree77df3594c8aec0fc1d71e27a9c2cb80bf2d43b69
parenta4f30bf0c001034b855e79b72676667deb6db463 (diff)
parent466065946feaaccfb7abbbd78396549449ccfad4 (diff)
downloadrust-6db7e35c599f55699534747099c757dfead9a884.tar.gz
rust-6db7e35c599f55699534747099c757dfead9a884.zip
auto merge of #11190 : eliovir/rust/patch-3, r=alexcrichton
#[ author = "Jane Doe" ]; raises "warning: unknown crate attribute"
replace `pkgid` by `crate_id`
add `comment`
-rw-r--r--doc/rust.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/rust.md b/doc/rust.md
index c9627a87cb0..7d32959c4d2 100644
--- a/doc/rust.md
+++ b/doc/rust.md
@@ -615,7 +615,7 @@ the behavior of the compiler.
 // Additional metadata attributes
 #[ desc = "Project X" ];
 #[ license = "BSD" ];
-#[ author = "Jane Doe" ];
+#[ comment = "This is a comment on Project X." ];
 
 // Specify the output type
 #[ crate_type = "lib" ];