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

fix(rt): Sleep::downcast_mut_pin() no longer extend lifetime #3557

Merged
merged 1 commit into from
Feb 5, 2024

Conversation

seanmonstar
Copy link
Member

This lifetime extension was a mistake.

Closes #3556

BREAKING CHANGE: The returned lifetime from Sleep::downcast_mut_pin()
is no longer 'static. This shouldn't affect most usage. This sort of
breaking change is needed because it is wrong.

This lifetime extension was a mistake.

Closes #3556

BREAKING CHANGE: The returned lifetime from `Sleep::downcast_mut_pin()`
  is no longer `'static`. This shouldn't affect most usage. This sort of
  breaking change is needed because it is _wrong_.
@seanmonstar seanmonstar merged commit 7206fe3 into master Feb 5, 2024
21 checks passed
@seanmonstar seanmonstar deleted the sleep-downcast-lifetime-mistake branch February 5, 2024 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sleep::downcast_mut_pin() should not extend lifetime
1 participant