Skip to content

Conversation

Mark-Simulacrum
Copy link
Member

Mutex::new is const since 1.63, which is below the 1.82 MSRV, so this should be fine to rely on. I wouldn't expect this to practically matter ~ever, but spotted this while poking around and it seems like a nice bit of cleanup (also removes a bit of unsafe and a leaked allocation).

Mutex::new is const since 1.63, which is below the 1.82 MSRV, so this
should be fine to rely on.
@Mark-Simulacrum
Copy link
Member Author

(CI failure looks like a bug in GitHub probably?)

@Mark-Simulacrum
Copy link
Member Author

Alright, that fixed CI. Should be ready for review.

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.

1 participant