Skip to content

Commit

Permalink
Remove unused mut.
Browse files Browse the repository at this point in the history
  • Loading branch information
mt2d2 committed Jul 15, 2015
1 parent 9af229b commit ff915ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/gfx/paint_context.rs
Expand Up @@ -783,7 +783,7 @@ impl<'a> PaintContext<'a> {
_ => panic!("invalid border style")
};

let mut lighter_color;
let lighter_color;
let mut darker_color = color::black();
if color != darker_color {
darker_color = self.scale_color(color, if is_groove { 1.0/3.0 } else { 2.0/3.0 });
Expand Down

0 comments on commit ff915ae

Please sign in to comment.