diff options
author | Joe Wilm <joe@jwilm.com> | 2016-06-14 08:26:02 -0700 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2016-06-14 08:26:02 -0700 |
commit | f5faa40066e87d615e35dd3d62b96ccc9a49e705 (patch) | |
tree | f06ef71aaf6c5d81464f88e8ec8ac5873726c213 | |
parent | 4ecc4a15f1af6a7dcb7b5cdc1f2ad127ed345319 (diff) | |
download | alacritty-f5faa40066e87d615e35dd3d62b96ccc9a49e705.tar.gz alacritty-f5faa40066e87d615e35dd3d62b96ccc9a49e705.zip |
Fix a few compiler warnings
-rw-r--r-- | src/ansi.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ansi.rs b/src/ansi.rs index ff2b0daf..c55b8376 100644 --- a/src/ansi.rs +++ b/src/ansi.rs @@ -1091,7 +1091,7 @@ impl Default for State { #[cfg(test)] mod tests { use std::io::{Cursor, Read}; - use super::{Parser, Escape, Handler, Attr, DebugHandler, TermInfo}; + use super::{Parser, Handler, Attr, DebugHandler, TermInfo}; use ::Rgb; #[derive(Default)] @@ -1139,7 +1139,7 @@ mod tests { 0x38, 0x3b, 0x36, 0x36, 0x3b, 0x32, 0x35, 0x35, 0x6d ]; - let mut cursor = Cursor::new(BYTES); + let cursor = Cursor::new(BYTES); let mut parser = Parser::new(); let mut handler = AttrHandler::default(); @@ -1175,7 +1175,7 @@ mod tests { 0x6f, 0x64, 0x65 ]; - let mut cursor = Cursor::new(BYTES); + let cursor = Cursor::new(BYTES); let mut handler = DebugHandler; let mut parser = Parser::new(); |