about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorEduard-Mihai Burtescu <edy.burt@gmail.com>2016-08-14 20:29:53 +0300
committerGitHub <noreply@github.com>2016-08-14 20:29:53 +0300
commitc63adb1712f76b72d9c8ee7a5a1edfa813a1a69b (patch)
tree00c01428ff9bc88bd435cc4216e0d0ed04adef6d /src/doc
parentf73f1282f59ee49cb7ff81631ba7c3b1cc60a45b (diff)
parent6fbff4f06a7e5b62d985c2ce28c5303bf5b8fe43 (diff)
downloadrust-c63adb1712f76b72d9c8ee7a5a1edfa813a1a69b.tar.gz
rust-c63adb1712f76b72d9c8ee7a5a1edfa813a1a69b.zip
Rollup merge of #35647 - ahmedcharles:spelling, r=alexcrichton
Ensure that attributes are spelled properly.
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/book/variable-bindings.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/book/variable-bindings.md b/src/doc/book/variable-bindings.md
index b6751f57a97..30e922d7f4d 100644
--- a/src/doc/book/variable-bindings.md
+++ b/src/doc/book/variable-bindings.md
@@ -125,7 +125,7 @@ warning, but it will still print "Hello, world!":
 
 ```text
    Compiling hello_world v0.0.1 (file:///home/you/projects/hello_world)
-src/main.rs:2:9: 2:10 warning: unused variable: `x`, #[warn(unused_variable)]
+src/main.rs:2:9: 2:10 warning: unused variable: `x`, #[warn(unused_variables)]
    on by default
 src/main.rs:2     let x: i32;
                       ^