Expand std::pin module docs and rename std::pin::Pinned to PhantomPinned#55992
Expand std::pin module docs and rename std::pin::Pinned to PhantomPinned#55992bors merged 2 commits intorust-lang:masterfrom
Conversation
src/libcore/pin.rs
Outdated
There was a problem hiding this comment.
Shouldn't this be Box<T> and &mut T? We have an impl Unpin for Box<T> where T: !Unpin, right?
There was a problem hiding this comment.
Those are also Unpin, but I was specifically referring to the Pin-wrapped types to clarify that Pin does not make something !Unpin.
src/libcore/pin.rs
Outdated
There was a problem hiding this comment.
I think we may want to say "no later code", or something along those lines, instead of "other functions". The contract around Pin talks about what cannot happen "in the future", but the current text doesn't currently say that.
|
Ping from triage @withoutboats: This PR requires your review. |
|
Ping from triage @withoutboats / @rust-lang/libs: This PR requires your review. |
|
☔ The latest upstream changes (presumably #56578) made this pull request unmergeable. Please resolve the merge conflicts. |
|
Ping @rust-lang/libs can one of y'all make a decision here? I don't think there's much to be said that hasn't been already on the stabilization thread. |
|
@rfcbot fcp merge To confirm we're all on board with the renaming, but I suspect this won't take long |
|
Team member @alexcrichton has proposed to merge this. The next step is review by the rest of the tagged teams: No concerns currently listed. Once a majority of reviewers approve (and none object), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up! See this document for info about what commands tagged team members can give me. |
|
🔔 This is now entering its final comment period, as per the review above. 🔔 |
|
Ok great! @cramertj want to rebase this and I'll r+? |
|
@alexcrichton done! |
|
@bors: r+ |
|
📌 Commit 709b751 has been approved by |
Expand std::pin module docs and rename std::pin::Pinned to PhantomPinned cc #49150, #55766 r? @withoutboats
|
☀️ Test successful - status-appveyor, status-travis |
cc #49150, #55766
r? @withoutboats