utf-8: minor reformatting

pull/42/head
Vladimir Serov 2020-02-09 17:35:31 +03:00
parent f606807b08
commit 398e2d33f8
No known key found for this signature in database
GPG Key ID: 6BA7C26C3FDF7BB3
1 changed files with 2 additions and 1 deletions

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>>()