diff options
| author | bors <bors@rust-lang.org> | 2018-05-08 14:45:16 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-05-08 14:45:16 +0000 |
| commit | c166b0386888b253313e1e7e982a2a06cadaac8b (patch) | |
| tree | d15d462362c9be390bfe8bd16455c73d34233c90 /src/liballoc/string.rs | |
| parent | b183bd0ad40b0188fc242bfb9f68a0cf1704dbd9 (diff) | |
| parent | 939c25a522ddeaae60f905c787a1f28ceb5d7ee8 (diff) | |
| download | rust-c166b0386888b253313e1e7e982a2a06cadaac8b.tar.gz rust-c166b0386888b253313e1e7e982a2a06cadaac8b.zip | |
Auto merge of #50497 - RalfJung:pinmut, r=withoutboats
Rename Pin to PinMut, and some more breaking changes As discussed at [1] ยง3 and [2] and [3], a formal look at pinning requires considering a distinguished "shared pinned" mode/typestate. Given that, it seems desirable to at least eventually actually expose that typestate as a reference type. This renames Pin to PinMut, freeing the name Pin in case we want to use it for a shared pinned reference later on. [1] https://www.ralfj.de/blog/2018/04/10/safe-intrusive-collections-with-pinning.html [2] https://github.com/rust-lang/rfcs/pull/2349#issuecomment-379250361 [3] https://github.com/rust-lang/rust/issues/49150#issuecomment-380488275 Cc @withoutboats
Diffstat (limited to 'src/liballoc/string.rs')
0 files changed, 0 insertions, 0 deletions
