chore: fix newly added warnings (#4253)

This commit is contained in:
Taiki Endo
2021-11-22 18:40:57 +09:00
committed by GitHub
parent 8b6542fc3e
commit fe770dc509
10 changed files with 14 additions and 18 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ fn rt() -> tokio::runtime::Runtime {
const BLOCK_COUNT: usize = 1_000;
const BUFFER_SIZE: usize = 4096;
const DEV_ZERO: &'static str = "/dev/zero";
const DEV_ZERO: &str = "/dev/zero";
fn async_read_codec(b: &mut Bencher) {
let rt = rt();