Skip to content

Commit 04d06df

Browse files
authored
Merge pull request #4175 from damoasda/ch20-01-fix
Update section name
2 parents 93f9ea4 + 665bb1e commit 04d06df

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/ch20-01-unsafe-rust.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,8 +400,7 @@ value.
400400
</Listing>
401401
402402
Static variables are similar to constants, which we discussed in the
403-
[“Differences Between Variables and
404-
Constants”][differences-between-variables-and-constants]<!-- ignore --> section
403+
[“Constants”][differences-between-variables-and-constants]<!-- ignore --> section
405404
in Chapter 3. The names of static variables are in `SCREAMING_SNAKE_CASE` by
406405
convention. Static variables can only store references with the `'static`
407406
lifetime, which means the Rust compiler can figure out the lifetime and we

0 commit comments

Comments
 (0)