about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorAhmed Charles <acharles@outlook.com>2016-08-13 02:41:43 -0700
committerAhmed Charles <acharles@outlook.com>2016-08-13 02:41:43 -0700
commit6fbff4f06a7e5b62d985c2ce28c5303bf5b8fe43 (patch)
tree329560f4099b8b74404702637b2470a429cdce7a /src/doc
parentd3c3de8abe63f738113874267dad3b92a1965ecd (diff)
downloadrust-6fbff4f06a7e5b62d985c2ce28c5303bf5b8fe43.tar.gz
rust-6fbff4f06a7e5b62d985c2ce28c5303bf5b8fe43.zip
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;
                       ^