Skip to content

Commit

Permalink
Rollup merge of #40194 - letmaik:patch-1, r=steveklabnik
Browse files Browse the repository at this point in the history
Fix wrong word used in book page "const and static"
  • Loading branch information
GuillaumeGomez authored Mar 2, 2017
2 parents a7126e1 + 898d010 commit ad0a356
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/book/src/const-and-static.md
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit ad0a356

Please sign in to comment.