Skip to content

Commit ce90478

Browse files
authored
Improve wording for const pointers
1 parent 54a4fd1 commit ce90478

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/keyword_docs.rs

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

0 commit comments

Comments
 (0)