diff options
| author | David Tolnay <dtolnay@gmail.com> | 2021-09-28 21:17:57 -0700 |
|---|---|---|
| committer | David Tolnay <dtolnay@gmail.com> | 2021-09-28 21:22:37 -0700 |
| commit | e3e5ae91d07f7d4256acac7abac6a204b6abc491 (patch) | |
| tree | c92a4fb7a49039e2a45dd3a26187d7129f4b669f /compiler/rustc_codegen_llvm/src | |
| parent | f1c8accf90d797ef32a56ee08ed7705a4b500c17 (diff) | |
| download | rust-e3e5ae91d07f7d4256acac7abac6a204b6abc491.tar.gz rust-e3e5ae91d07f7d4256acac7abac6a204b6abc491.zip | |
Clean up unneeded explicit pointer cast
The reference automatically coerces to a pointer. Writing an explicit cast here is slightly misleading because that's most commonly used when a pointer needs to be converted from one pointer type to another, e.g. `*const c_void` to `*const sigaction` or vice versa.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
