Skip to content

Commit 94be115

Browse files
committedMay 15, 2015
TRPL: Fix Inline Code Typography
1 parent 7d0ae69 commit 94be115

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/doc/trpl/const-and-static.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ static N: i32 = 5;
3232
Unlike [`let`][let] bindings, you must annotate the type of a `static`.
3333

3434
Statics live for the entire lifetime of a program, and therefore any
35-
reference stored in a constant has a [`static` lifetime][lifetimes]:
35+
reference stored in a constant has a [`'static` lifetime][lifetimes]:
3636

3737
```rust
3838
static NAME: &'static str = "Steve";

0 commit comments

Comments
 (0)
Please sign in to comment.