Skip to content

Commit 2ca3dfd

Browse files
committed
trpl: Remove tailing semicolon of an inner attribute
The syntax with tailing semicolon is deprecated and the compiler will complain about it.
1 parent 720735b commit 2ca3dfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/trpl/documentation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ You can control a few aspects of the HTML that `rustdoc` generates through the
549549
```rust
550550
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
551551
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
552-
html_root_url = "http://doc.rust-lang.org/")];
552+
html_root_url = "http://doc.rust-lang.org/")]
553553
```
554554

555555
This sets a few different options, with a logo, favicon, and a root URL.

0 commit comments

Comments
 (0)