about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-07-22 11:53:39 +0530
committerGitHub <noreply@github.com>2022-07-22 11:53:39 +0530
commitad31d5c6a5551c88e98dd35c70a7af18445dadd8 (patch)
treea81f25b6055b037dcf0852eaba79573ae7cbbfd3 /compiler/rustc_codegen_llvm/src/llvm_util.rs
parentaa0189170057a6b56f445f05b9840caf6f260212 (diff)
parenteb5acc9b9b520092cc667a810a18498b28d052ab (diff)
downloadrust-ad31d5c6a5551c88e98dd35c70a7af18445dadd8.tar.gz
rust-ad31d5c6a5551c88e98dd35c70a7af18445dadd8.zip
Rollup merge of #98174 - Kixunil:rename_ptr_as_mut_const_to_cast, r=scottmcm
Rename `<*{mut,const} T>::as_{const,mut}` to `cast_`

This renames the methods to use the `cast_` prefix instead of `as_` to
make it more readable and avoid confusion with `<*mut T>::as_mut()`
which is `unsafe` and returns a reference.

Sorry, didn't notice ACP process exists, opened https://github.com/rust-lang/libs-team/issues/51

See #92675
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions