about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorIven Hsu <ivenvd@gmail.com>2015-05-20 16:55:38 +0800
committerIven Hsu <ivenvd@gmail.com>2015-05-20 16:55:38 +0800
commit2ca3dfd4ac66f73b66a47d388bdfd626eaa1342f (patch)
tree4aaea16157668f03bbcea433baf668900131f140 /src
parent720735b9430f7ff61761f54587b82dab45317938 (diff)
downloadrust-2ca3dfd4ac66f73b66a47d388bdfd626eaa1342f.tar.gz
rust-2ca3dfd4ac66f73b66a47d388bdfd626eaa1342f.zip
trpl: Remove tailing semicolon of an inner attribute
The syntax with tailing semicolon is deprecated and the compiler will
complain about it.
Diffstat (limited to 'src')
-rw-r--r--src/doc/trpl/documentation.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/trpl/documentation.md b/src/doc/trpl/documentation.md
index 4accba90e6c..53754e2688d 100644
--- a/src/doc/trpl/documentation.md
+++ b/src/doc/trpl/documentation.md
@@ -549,7 +549,7 @@ You can control a few aspects of the HTML that `rustdoc` generates through the
 ```rust
 #![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
        html_favicon_url = "http://www.rust-lang.org/favicon.ico",
-       html_root_url = "http://doc.rust-lang.org/")];
+       html_root_url = "http://doc.rust-lang.org/")]
 ```
 
 This sets a few different options, with a logo, favicon, and a root URL.