mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-23 12:40:14 +03:00
change other uses of const to raw pointers
This commit is contained in:
@@ -238,7 +238,7 @@ mod break_keyword {}
|
||||
///
|
||||
/// Turning a `fn` into a `const fn` has no effect on run-time uses of that function.
|
||||
///
|
||||
/// ## Other uses of `const`
|
||||
/// ## raw pointers
|
||||
///
|
||||
/// The `const` keyword is also used in raw pointers in combination with `mut`, as seen in `*const
|
||||
/// T` and `*mut T`. More about `const` as used in raw pointers can be read at the Rust docs for the [pointer primitive].
|
||||
|
||||
Reference in New Issue
Block a user