Wow, @_taiki_e is saying the new pin-project makes pin projection an *entirely* safe operation for safe code (that currently isn't the case).
That's a low-key *huge* development for async Rust, and something that will make help a lot with futures/streamshttps://github.com/taiki-e/pin-project …
Replying to @yoshuawuyts
If someone is interested in how pin-project guarantee safety, "safety" section of the documentation and generated code example have detailed explanations. * "safety" section of the documentation: https://docs.rs/pin-project-internal/0.4.1/pin_project_internal/attr.pin_project.html#safety … * generated code example: https://github.com/taiki-e/pin-project/blob/ff227fed7927306c4d443ad98d08c0fb32bd9a30/examples/struct-default-expanded.rs#L63-L140 …
0 replies
1 retweet
5 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.