Improve wording for const pointers

This commit is contained in:
Camelid 2020-09-01 19:44:20 -07:00 committed by GitHub
parent 54a4fd1eb9
commit ce904783d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -146,7 +146,7 @@ mod break_keyword {}
/// Constants, like statics, should always be in `SCREAMING_SNAKE_CASE`.
///
/// The `const` keyword is also used in raw pointers in combination with `mut`, as seen in `*const
/// T` and `*mut T`. More about that usage can be read at the Rust docs for the [pointer primitive].
/// T` and `*mut T`. More about `const` as used in raw pointers can be read at the Rust docs for the [pointer primitive].
///
/// For more detail on `const`, see the [Rust Book] or the [Reference].
///