Skip to content

Commit fc491b4

Browse files
authored
Update constants.md
1 parent 8a8918c commit fc491b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/custom_types/constants.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Rust has two different types of constants which can be declared in any scope
44
including global. Both require explicit type annotation:
55

66
* `const`: An unchangeable value (the common case).
7-
* `static`: A possibly mutable variable with [`'static`][static] lifetime.
7+
* `static`: A possibly mutable variable with [`static`][static] lifetime.
88
The static lifetime is inferred and does not have to be specified.
99
Accessing or modifying a mutable static variable is [`unsafe`][unsafe].
1010

0 commit comments

Comments
 (0)