From d5a27c99e68eef8e7afe8eb208ab4c8bebf9e47b Mon Sep 17 00:00:00 2001 From: Vladimir Serov Date: Sun, 9 Feb 2020 17:31:10 +0300 Subject: [PATCH] utf-8: better variable name for lambda --- src/render/utf8.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/render/utf8.rs b/src/render/utf8.rs index c01aaf7..d48587f 100644 --- a/src/render/utf8.rs +++ b/src/render/utf8.rs @@ -47,7 +47,7 @@ impl RenderCanvas for Canvas { if rows.len() == 2 { rows[0].iter().zip(rows[1]).map(|(top,bot)| (top * 2 + bot)).collect::>() } else { - rows[0].iter().map(|a| (a * 2)).collect::>() + rows[0].iter().map(|top| (top * 2)).collect::>() } }.iter() // Mapping those 2-bit numbers to corresponding pixels.