Skip to content

Commit 6db7e35

Browse files
committed
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`
2 parents a4f30bf + 4660659 commit 6db7e35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/rust.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ the behavior of the compiler.
615615
// Additional metadata attributes
616616
#[ desc = "Project X" ];
617617
#[ license = "BSD" ];
618-
#[ author = "Jane Doe" ];
618+
#[ comment = "This is a comment on Project X." ];
619619
620620
// Specify the output type
621621
#[ crate_type = "lib" ];

0 commit comments

Comments
 (0)