Skip to content

Commit

Permalink
TRPL: Fix Inline Code Typography
Browse files Browse the repository at this point in the history
  • Loading branch information
killercup committed May 15, 2015
1 parent 7d0ae69 commit 94be115
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/trpl/const-and-static.md
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 constant has a [`'static` lifetime][lifetimes]:

```rust
static NAME: &'static str = "Steve";
Expand Down

0 comments on commit 94be115

Please sign in to comment.