Skip to content

Conversation

@Horki
Copy link
Contributor

@Horki Horki commented Jun 3, 2021

@jimblandy use of std::sync::Once::new, due to warning

warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred --> src/git/mod.rs:78:36 | 78 | static ONCE: std::sync::Once = std::sync::ONCE_INIT; | ^^^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` 
@jimblandy
Copy link
Contributor

Thank you!

@jimblandy jimblandy merged commit 4880308 into ProgrammingRust:master Jun 3, 2021
@Horki Horki deleted the ch_21_sync_once branch June 3, 2021 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants