diff options
| author | Martin Habovstiak <martin.habovstiak@gmail.com> | 2022-06-16 19:47:24 +0200 |
|---|---|---|
| committer | Martin Habovstiak <martin.habovstiak@gmail.com> | 2022-07-21 18:30:05 +0200 |
| commit | eb5acc9b9b520092cc667a810a18498b28d052ab (patch) | |
| tree | 93fa2529d4d37cb4a5e3376fb7cd980dafe6740c /compiler/rustc_codegen_llvm/src/llvm_util.rs | |
| parent | 6ec3993ef4a4eb72bc20477fe9a4d92acd53f2c6 (diff) | |
| download | rust-eb5acc9b9b520092cc667a810a18498b28d052ab.tar.gz rust-eb5acc9b9b520092cc667a810a18498b28d052ab.zip | |
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. See #92675
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions
