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

[meta] switch to once_cell impls in std #7580

Merged

Conversation

sunshowers
Copy link
Contributor

@sunshowers sunshowers commented Feb 21, 2025

once_cell is now part of std, so switch over to it almost everywhere, and add lints for it.

This is purely mechanical -- there are no semantic changes compared to once_cell.

There's one place that still needs once_cell's try_, so keep that around. See rust-lang/rust#109737.

Created using spr 1.3.6-beta.1
Copy link
Contributor

@jgallagher jgallagher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@sunshowers sunshowers merged commit be94d13 into main Feb 21, 2025
17 checks passed
@sunshowers sunshowers deleted the sunshowers/spr/meta-switch-to-once_cell-impls-in-std branch February 21, 2025 16:55
hawkw pushed a commit that referenced this pull request Feb 21, 2025
`once_cell` is now part of std, so switch over to it almost everywhere,
and add lints for it.

This is purely mechanical -- there are no semantic changes compared to
`once_cell`.

There's one place that still needs `once_cell`'s `try_`, so keep that
around. See rust-lang/rust#109737.
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.

2 participants