Skip to content

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 requested a review from sfackler February 2, 2024 15:56
@seanmonstar seanmonstar merged commit 7206fe3 into master Feb 5, 2024
@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