mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
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:
commit
da5f1abaa7
1 changed files with 1 additions and 1 deletions
|
@ -783,7 +783,7 @@ impl<'a> PaintContext<'a> {
|
||||||
_ => panic!("invalid border style")
|
_ => panic!("invalid border style")
|
||||||
};
|
};
|
||||||
|
|
||||||
let mut lighter_color;
|
let lighter_color;
|
||||||
let mut darker_color = color::black();
|
let mut darker_color = color::black();
|
||||||
if color != darker_color {
|
if color != darker_color {
|
||||||
darker_color = self.scale_color(color, if is_groove { 1.0/3.0 } else { 2.0/3.0 });
|
darker_color = self.scale_color(color, if is_groove { 1.0/3.0 } else { 2.0/3.0 });
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue