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 838ece1 commit 28286b3Copy full SHA for 28286b3
examples/zguide/fileio3/main.rs
@@ -14,7 +14,7 @@ use tempfile::tempfile;
14
use zmq::SNDMORE;
15
16
static CHUNK_SIZE: usize = 250_000;
17
-static CHUNK_SIZE_STR: &'static str = "250000";
+static CHUNK_SIZE_STR: &str = "250000";
18
static PIPELINE: usize = 10;
19
static PIPELINE_HWM: usize = 20;
20
tests/common/mod.rs
@@ -2,9 +2,9 @@
2
3
pub extern crate timebomb;
4
5
-use std::sync::{Once, ONCE_INIT};
+use std::sync::Once;
6
7
-static LOGGER_INIT: Once = ONCE_INIT;
+static LOGGER_INIT: Once = Once::new();
8
9
#[macro_export]
10
macro_rules! test {
0 commit comments