about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2017-03-02 11:29:43 +0100
committerGitHub <noreply@github.com>2017-03-02 11:29:43 +0100
commitad0a3567f858a7de9e60b25d17d244060398e760 (patch)
treeafb7047190a7b9cda464eb18142b0a88ae3b61ed /src/doc
parenta7126e1132131f5888425b1123775194f5763677 (diff)
parent898d0106920838d4ef8eb6be960d795d117ff05f (diff)
Rollup merge of #40194 - letmaik:patch-1, r=steveklabnik
Fix wrong word used in book page "const and static"
Diffstat (limited to 'src/doc')
-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";