diff options
Diffstat (limited to 'src/ansi.rs')
-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 3bcfff88..b59959f5 100644 --- a/src/ansi.rs +++ b/src/ansi.rs @@ -65,7 +65,7 @@ fn parse_rgb_color(color: &[u8]) -> Option<Rgb> { if next!() != Some('/') { return None; } let b = parse_hex!(); - Some(Rgb { r: r, g: g, b: b}) + Some(Rgb { r, g, b }) } Some('#') => { Some(Rgb { @@ -128,8 +128,8 @@ impl<'a, H: Handler + TermInfo + 'a, W: io::Write> Performer<'a, H, W> { ) -> Performer<'b, H, W> { Performer { _state: state, - handler: handler, - writer: writer, + handler, + writer, } } } |