diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-07-22 11:53:39 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-22 11:53:39 +0530 |
| commit | ad31d5c6a5551c88e98dd35c70a7af18445dadd8 (patch) | |
| tree | a81f25b6055b037dcf0852eaba79573ae7cbbfd3 /compiler/rustc_codegen_llvm/src/llvm_util.rs | |
| parent | aa0189170057a6b56f445f05b9840caf6f260212 (diff) | |
| parent | eb5acc9b9b520092cc667a810a18498b28d052ab (diff) | |
| download | rust-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
