Rollup merge of #128387 - liigo:patch-14, r=tgross35 · patricklam/verify-rust-std@e3a4ed3 (original) (raw)
Navigation Menu
- GitHub Copilot Write better code with AI
- GitHub Models New Manage and compare prompts
- GitHub Advanced Security Find and fix vulnerabilities
- Actions Automate any workflow
- Codespaces Instant dev environments
- Issues Plan and track work
- Code Review Manage code changes
- Discussions Collaborate outside of code
- Code Search Find more, search less
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Commit e3a4ed3
More detailed note to deprecate ONCE_INIT
File tree
1 file changed
lines changed
1 file changed
lines changed
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -70,7 +70,7 @@ pub(crate) enum ExclusiveState { | ||
70 | 70 | #[stable(feature = "rust1", since = "1.0.0")] |
71 | 71 | #[deprecated( |
72 | 72 | since = "1.38.0", |
73 | - note = "the `new` function is now preferred", | |
73 | + note = "the `Once::new()` function is now preferred", | |
74 | 74 | suggestion = "Once::new()" |
75 | 75 | )] |
76 | 76 | pub const ONCE_INIT: Once = Once::new(); |