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" ];