We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8a6de8 commit fd7df21Copy full SHA for fd7df21
src/version/mod.rs
@@ -10,7 +10,6 @@ pub(crate) use enforce::enforce_version;
10
use crate::common::UPDATE;
11
use crate::version::state::{State, Versions};
12
use semver::Version;
13
-use std::thread;
14
15
const VERSION: &str = env!("CARGO_PKG_VERSION");
16
const NAME: &str = env!("CARGO_PKG_NAME");
@@ -26,7 +25,7 @@ pub fn update_check(skip: bool) {
26
25
// We need to spawn this in a dedicated tokio runtime, as otherwise this would block
27
// the current tokio runtime from existing. There seems to be an issue with where even
28
// with an aborted spawned task, tokio will wait for it to end indefinitely.
29
- thread::spawn(|| {
+ std::thread::spawn(|| {
30
perform_update_check();
31
});
32
}
0 commit comments