diff --git a/doc/rust.md b/doc/rust.md index 48a1ea6f6539d..33e4f8cdd0a25 100644 --- a/doc/rust.md +++ b/doc/rust.md @@ -610,12 +610,12 @@ the behavior of the compiler. ~~~~ // Package ID -#[ pkgid = "projx#2.5" ]; +#[ crate_id = "projx#2.5" ]; // 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" ];