Skip to content

Commit ff3870c

Browse files
Remove warnings due to unused std::str
1 parent b8ef72b commit ff3870c

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/dmesg.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
extern crate libproc;
22
extern crate libc;
33

4-
use std::str;
54
use std::io::Write;
65
use libproc::libproc::kmesg_buffer;
76

src/procinfo.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
extern crate libproc;
22
extern crate libc;
33

4-
use std::{env, str};
4+
use std::env;
55
use std::io::Write;
66
use libproc::libproc::proc_pid;
77

0 commit comments

Comments
 (0)