From a8af107b3e0325972ee8ca62591b0559669edf60 Mon Sep 17 00:00:00 2001 From: rogercyyu Date: Mon, 26 Oct 2020 10:28:29 -0400 Subject: [PATCH] fixed incorrect scope for custom_color --- src/onefetch/info.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/onefetch/info.rs b/src/onefetch/info.rs index 9bc5ce231..02c707dff 100644 --- a/src/onefetch/info.rs +++ b/src/onefetch/info.rs @@ -817,7 +817,7 @@ impl Info { custom_color.insert(4, default_colors[0]); custom_color.insert(5, Color::White); } else { - let mut custom_color: Vec = text_colors + custom_color = text_colors .iter() .map(|color_num| { let custom = Info::num_to_color(color_num);