granite-rust/library/core
Dylan DPC a6ad1394f3
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.
2022-04-18 18:22:04 +02:00
..
benches Make some usize-typed masks definition agnostic to the size of usize 2022-04-15 17:04:59 +02:00
primitive_docs Add primitive documentation to libcore 2021-09-12 02:23:08 +00:00
src Rollup merge of #96136 - thomcc:lifetime-wording, r=RalfJung 2022-04-18 18:22:04 +02:00
tests Auto merge of #95399 - gilescope:plan_b, r=scottmcm 2022-04-12 05:54:50 +00:00
Cargo.toml Build libcore as 2021 in a few more places 2022-02-06 15:41:01 -08:00