Skip to content

Commit

Permalink
Merge pull request #4175 from damoasda/ch20-01-fix
Browse files Browse the repository at this point in the history
Update section name
  • Loading branch information
chriskrycho authored Dec 20, 2024
2 parents 93f9ea4 + 665bb1e commit 04d06df
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions 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 04d06df

Please sign in to comment.