Auto merge of #6630 - mt2d2:remove_unused_mut, r=metajack

Remove unused mut.

rustc complains about unneeded mut; remove this instance.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6630)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-07-14 17:37:43 -06:00
commit da5f1abaa7

View file

@ -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 });