Skip to content

Update Wake example to use pin! macro instead of Box::pin #109965

Closed

Description

Location

https://doc.rust-lang.org/std/task/trait.Wake.html#examples

Summary

The Wake example currently uses Box::pin, but now that the pin! macro has been stabilized in Rust 1.68, it should probably use that instead. This should be an easy contribution for someone who wants to land a first contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

A-docsArea: documentation for any part of the project, including the compiler, standard library, and toolsE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions