typo in sparkline.rs

This commit is contained in:
Joseph Knight 2019-08-10 16:03:00 -05:00 committed by Florian Dehau
parent 97357c0e08
commit e5fdd442c3

View File

@ -102,11 +102,11 @@ impl<'a> Widget for Sparkline<'a> {
let symbol = match *d {
0 => " ",
1 => bar::ONE_EIGHTH,
2 => bar::ONE_QUATER,
2 => bar::ONE_QUARTER,
3 => bar::THREE_EIGHTHS,
4 => bar::HALF,
5 => bar::FIVE_EIGHTHS,
6 => bar::THREE_QUATERS,
6 => bar::THREE_QUARTERS,
7 => bar::SEVEN_EIGHTHS,
_ => bar::FULL,
};