瀏覽代碼

Less warnings

Eiyeron Fulmincendii 8 年之前
父節點
當前提交
ded595fb14
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/main.rs

+ 2 - 2
src/main.rs

@@ -5,10 +5,10 @@ extern crate systemstat;
 use std::thread;
 use std::thread;
 use termion::{cursor, color, clear, terminal_size};
 use termion::{cursor, color, clear, terminal_size};
 use termion::color::Color;
 use termion::color::Color;
-use termion::raw::{IntoRawMode, RawTerminal};
+use termion::raw::{IntoRawMode};
 use termion::screen::{AlternateScreen};
 use termion::screen::{AlternateScreen};
 use termion::async_stdin;
 use termion::async_stdin;
-use std::io::{Read, Write, StdoutLock, stdout};
+use std::io::{Read, Write, stdout};
 use std::time::{Duration, Instant};
 use std::time::{Duration, Instant};
 use std::cmp::min;
 use std::cmp::min;