Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve pinning projection docs #61878

Merged
merged 7 commits into from
Jun 28, 2019
Merged

improve pinning projection docs #61878

merged 7 commits into from
Jun 28, 2019

Conversation

RalfJung
Copy link
Member

@RalfJung RalfJung commented Jun 15, 2019

This tries to improve the explanation of structural pinning and pinning projections based on this URLO thread.

Fixes #61272.

@rust-highfive
Copy link
Collaborator

r? @TimNN

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jun 15, 2019
@rust-highfive

This comment has been minimized.

@RalfJung
Copy link
Member Author

Cc @Centril you usually have a bunch of feedback on these ;)

src/libcore/pin.rs Outdated Show resolved Hide resolved
src/libcore/pin.rs Outdated Show resolved Hide resolved
src/libcore/pin.rs Outdated Show resolved Hide resolved
src/libcore/pin.rs Outdated Show resolved Hide resolved
src/libcore/pin.rs Outdated Show resolved Hide resolved
src/libcore/pin.rs Outdated Show resolved Hide resolved
@Centril
Copy link
Contributor

Centril commented Jun 18, 2019

@RalfJung Looks good aside from a few nits ^---

RalfJung and others added 2 commits June 19, 2019 15:02
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
@RalfJung
Copy link
Member Author

@rust-lang/libs this still awaits review.

@RalfJung RalfJung added T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools labels Jun 25, 2019
@RalfJung
Copy link
Member Author

@withoutboats could you maybe help review this?

@Dylan-DPC-zz
Copy link

@bors: r=me

@Dylan-DPC-zz
Copy link

@bors r+

@bors
Copy link
Contributor

bors commented Jun 26, 2019

📌 Commit bf03a3c has been approved by Dylan-DPC

@bors
Copy link
Contributor

bors commented Jun 26, 2019

🌲 The tree is currently closed for pull requests below priority 999, this pull request will be tested once the tree is reopened

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jun 26, 2019
@Centril
Copy link
Contributor

Centril commented Jun 27, 2019

@bors rollup

Centril added a commit to Centril/rust that referenced this pull request Jun 27, 2019
improve pinning projection docs

This tries to improve the explanation of structural pinning and pinning projections based on [this URLO thread](https://users.rust-lang.org/t/when-is-it-safe-to-move-a-member-value-out-of-a-pinned-future/28182).

Fixes rust-lang#61272.
Centril added a commit to Centril/rust that referenced this pull request Jun 27, 2019
improve pinning projection docs

This tries to improve the explanation of structural pinning and pinning projections based on [this URLO thread](https://users.rust-lang.org/t/when-is-it-safe-to-move-a-member-value-out-of-a-pinned-future/28182).

Fixes rust-lang#61272.
Centril added a commit to Centril/rust that referenced this pull request Jun 27, 2019
improve pinning projection docs

This tries to improve the explanation of structural pinning and pinning projections based on [this URLO thread](https://users.rust-lang.org/t/when-is-it-safe-to-move-a-member-value-out-of-a-pinned-future/28182).

Fixes rust-lang#61272.
bors added a commit that referenced this pull request Jun 28, 2019
Rollup of 16 pull requests

Successful merges:

 - #61878 (improve pinning projection docs)
 - #62043 (Remove `FnBox`)
 - #62067 (Add suggestion for missing `.await` keyword)
 - #62076 (Updated RELEASES.md for 1.36.0)
 - #62102 (call out explicitly that general read needs to be called with an initialized buffer)
 - #62106 (Add more tests for async/await)
 - #62124 (refactor lexer to use idiomatic borrowing)
 - #62131 (libsyntax: Fix some Clippy warnings)
 - #62152 (Don't ICE on item in `.await` expression)
 - #62154 (Remove old fixme)
 - #62155 (Add regression test for MIR drop generation in async loops)
 - #62156 (Update books)
 - #62160 (Remove outdated question_mark_macro_sep lint)
 - #62164 (save-analysis: use buffered writes)
 - #62171 (rustc: Retry SIGILL linker invocations)
 - #62176 (Update RLS)

Failed merges:

r? @ghost
@bors bors merged commit bf03a3c into rust-lang:master Jun 28, 2019
@RalfJung RalfJung deleted the pin branch August 9, 2019 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve pin projection documentation
6 participants