about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorDavid Tolnay <dtolnay@gmail.com>2021-09-28 21:17:57 -0700
committerDavid Tolnay <dtolnay@gmail.com>2021-09-28 21:22:37 -0700
commite3e5ae91d07f7d4256acac7abac6a204b6abc491 (patch)
treec92a4fb7a49039e2a45dd3a26187d7129f4b669f /compiler/rustc_codegen_llvm/src
parentf1c8accf90d797ef32a56ee08ed7705a4b500c17 (diff)
downloadrust-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