Skip to content

Commit

Permalink
update original
Browse files Browse the repository at this point in the history
  • Loading branch information
funkill committed Dec 21, 2024
1 parent 9151969 commit 57d0404
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rustbook-en/src/ch20-01-unsafe-rust.md
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,7 @@ value.
</Listing>
Static variables are similar to constants, which we discussed in the
[“Differences Between Variables and
Constants”][differences-between-variables-and-constants]<!-- ignore --> section
[“Constants”][differences-between-variables-and-constants]<!-- ignore --> section
in Chapter 3. The names of static variables are in `SCREAMING_SNAKE_CASE` by
convention. Static variables can only store references with the `'static`
lifetime, which means the Rust compiler can figure out the lifetime and we
Expand Down

0 comments on commit 57d0404

Please sign in to comment.