cargo fmt
This commit is contained in:
1 parent
3c6fb77879
commit
d246ef4cdc
2 files changed
+6
-7
No files matched your search
@@ -2099,9 +2099,9 @@ impl<'a> CSIParser<'a> {
|
||||
&[Some(38), Some(2), _colorspace, Some(r), Some(g), Some(b)] => one!(
|
||||
Sgr::Foreground(RgbColor::new(r as u8, g as u8, b as u8).into())
|
||||
),
|
||||
&[Some(38), Some(2), Some(r), Some(g), Some(b)] => one!(
|
||||
Sgr::Foreground(RgbColor::new(r as u8, g as u8, b as u8).into())
|
||||
),
|
||||
&[Some(38), Some(2), Some(r), Some(g), Some(b)] => one!(Sgr::Foreground(
|
||||
RgbColor::new(r as u8, g as u8, b as u8).into()
|
||||
)),
|
||||
&[Some(38), Some(5), Some(idx)] => {
|
||||
one!(Sgr::Foreground(ColorSpec::PaletteIndex(idx as u8)))
|
||||
}
|
||||
@@ -2109,9 +2109,9 @@ impl<'a> CSIParser<'a> {
|
||||
&[Some(48), Some(2), _colorspace, Some(r), Some(g), Some(b)] => one!(
|
||||
Sgr::Background(RgbColor::new(r as u8, g as u8, b as u8).into())
|
||||
),
|
||||
&[Some(48), Some(2), Some(r), Some(g), Some(b)] => one!(
|
||||
Sgr::Background(RgbColor::new(r as u8, g as u8, b as u8).into())
|
||||
),
|
||||
&[Some(48), Some(2), Some(r), Some(g), Some(b)] => one!(Sgr::Background(
|
||||
RgbColor::new(r as u8, g as u8, b as u8).into()
|
||||
)),
|
||||
&[Some(48), Some(5), Some(idx)] => {
|
||||
one!(Sgr::Background(ColorSpec::PaletteIndex(idx as u8)))
|
||||
}
|
||||
|
||||
@@ -531,7 +531,6 @@ mod test {
|
||||
],
|
||||
actions
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in new issue
Block a user