Rollup merge of #128387 - liigo:patch-14, r=tgross35 · patricklam/verify-rust-std@e3a4ed3 (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

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();