about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMaik Riechert <maik.riechert@arcor.de>2017-03-01 23:06:40 +0000
committerGitHub <noreply@github.com>2017-03-01 23:06:40 +0000
commit898d0106920838d4ef8eb6be960d795d117ff05f (patch)
tree969c8420a4b209de94bf9b308464a44aad4383b0
parent691eba1358fc3c9c7a8033314a4112d43680c128 (diff)
downloadrust-898d0106920838d4ef8eb6be960d795d117ff05f.tar.gz
rust-898d0106920838d4ef8eb6be960d795d117ff05f.zip
fix wrong word used (static vs const)
-rw-r--r--src/doc/book/src/const-and-static.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/book/src/const-and-static.md b/src/doc/book/src/const-and-static.md
index 25b4bd94799..66a48566bd7 100644
--- a/src/doc/book/src/const-and-static.md
+++ b/src/doc/book/src/const-and-static.md
@@ -32,7 +32,7 @@ static N: i32 = 5;
 Unlike [`let`][let] bindings, you must annotate the type of a `static`.
 
 Statics live for the entire lifetime of a program, and therefore any
-reference stored in a constant has a [`'static` lifetime][lifetimes]:
+reference stored in a static has a [`'static` lifetime][lifetimes]:
 
 ```rust
 static NAME: &'static str = "Steve";