Issue #9042: Report incorrect number of spaces around => in the style checker.

This commit is contained in:
Simon Martin 2015-12-22 15:57:10 +01:00
parent 1ddcf9463a
commit cec661fa86
7 changed files with 48 additions and 38 deletions

View file

@ -1252,9 +1252,9 @@ impl<'a> PaintContext<'a> {
0.5 * border.bottom,
0.5 * border.left);
let is_groove = match style {
border_style::T::groove => true,
border_style::T::ridge => false,
_ => panic!("invalid border style")
border_style::T::groove => true,
border_style::T::ridge => false,
_ => panic!("invalid border style")
};
let lighter_color;