rust/library/core
bors 8c04c06317 Auto merge of #116074 - fzs111:clarify-pin-docs, r=Mark-Simulacrum
Clarify example in `Pin::new_unchecked` docs

This example in the docs of `Pin::new_unchecked` puzzled me for a relatively long time. Now I understand that it comes down to the difference between dropping the `Pin` vs dropping the pinned value.

I have extended the explanation to highlight this difference. In my opinion it is clearer now, and I hope it helps others understand `Pin` better.
2023-09-25 03:50:59 +00:00
..
benches fix 2023-07-23 09:58:31 +00:00
src Auto merge of #116074 - fzs111:clarify-pin-docs, r=Mark-Simulacrum 2023-09-25 03:50:59 +00:00
tests Add the cfg_match! macro 2023-09-23 14:23:51 -03:00
Cargo.toml