From ebd18655457cd396fbce51bac804649704c8b457 Mon Sep 17 00:00:00 2001 From: Vladimir Serov Date: Sun, 9 Feb 2020 17:35:31 +0300 Subject: [PATCH] utf-8: minor reformatting --- src/render/utf8.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/render/utf8.rs b/src/render/utf8.rs index 6c485bb..ffc8530 100644 --- a/src/render/utf8.rs +++ b/src/render/utf8.rs @@ -69,7 +69,8 @@ impl RenderCanvas for Canvas { } else { rows[0].iter().map(|top| (top * 2)).collect::>() } - }.iter() + } + .iter() // Mapping those 2-bit numbers to corresponding pixels. .map(Unicode1x2::parse_2_bits) .collect::>()