about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-04-18 18:22:04 +0200
committerGitHub <noreply@github.com>2022-04-18 18:22:04 +0200
commita6ad1394f3f7fe1d9d459964a2d4be8d6ba2ea5a (patch)
tree10cd4fa286d79c6ac3dc775368bb044f92715868 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent718b1843eeb6466186f37906779b050bf91566f5 (diff)
parentbe30e4044052fb0c74166a761eaec69c17fd2d54 (diff)
downloadrust-a6ad1394f3f7fe1d9d459964a2d4be8d6ba2ea5a.tar.gz
rust-a6ad1394f3f7fe1d9d459964a2d4be8d6ba2ea5a.zip
Rollup merge of #96136 - thomcc:lifetime-wording, r=RalfJung
Reword clarification on lifetime for ptr->ref safety docs

I believe the current wording of the safety comment is somewhat misleading, and that this is more accurate. Suggested by `@CAD97` in this thread on the topic https://rust-lang.zulipchat.com/#narrow/stream/136281-t-lang.2Fwg-unsafe-code-guidelines/topic/Lifetime.20of.20reference.20pointer.20docs.20issue

Just to check that this is correct, CC `@RalfJung.`

I suppose it's open for interpretation as to whether or not this is more clear. I think it is.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions