Skip to content

Commit cb4ec1e

Browse files
committed
Fix format in constants.md
1 parent c954202 commit cb4ec1e

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 `mut`able 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)