utf-8: minor reformatting

This commit is contained in:
Vladimir Serov 2020-02-09 17:35:31 +03:00
parent 9eed3f6305
commit ebd1865545

View file

@ -69,7 +69,8 @@ impl RenderCanvas for Canvas {
} else {
rows[0].iter().map(|top| (top * 2)).collect::<Vec<u8>>()
}
}.iter()
}
.iter()
// Mapping those 2-bit numbers to corresponding pixels.
.map(Unicode1x2::parse_2_bits)
.collect::<Vec<&str>>()