From 898d0106920838d4ef8eb6be960d795d117ff05f Mon Sep 17 00:00:00 2001 From: Maik Riechert Date: Wed, 1 Mar 2017 23:06:40 +0000 Subject: [PATCH] fix wrong word used (static vs const) --- src/doc/book/src/const-and-static.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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";