diff --git a/doc/rust.md b/doc/rust.md index 7ffdb2339264..f22fb7f2c1f3 100644 --- a/doc/rust.md +++ b/doc/rust.md @@ -1245,7 +1245,7 @@ mod bar { } // A documentation attribute -#[doc = "Add two numbers together." +#[doc = "Add two numbers together."] fn add(x: int, y: int) { x + y } ~~~~~~~~