We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a9ea33f + 94be115 commit daaf715Copy full SHA for daaf715
src/doc/trpl/const-and-static.md
@@ -31,10 +31,8 @@ static N: i32 = 5;
31
32
Unlike [`let`][let] bindings, you must annotate the type of a `static`.
33
34
-[let]: variable-bindings.html
35
-
36
Statics live for the entire lifetime of a program, and therefore any
37
-reference stored in a constant has a [`’static` lifetime][lifetimes]:
+reference stored in a constant has a [`'static` lifetime][lifetimes]:
38
39
```rust
40
static NAME: &'static str = "Steve";
0 commit comments