From 46ea5d73e79e2f042bd23a571e1b53bc3ba44ca2 Mon Sep 17 00:00:00 2001 From: Jonas Belouadi Date: Sat, 21 Aug 2021 13:59:46 +0200 Subject: [PATCH] Format code with `cargo fmt`. --- config/src/color.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/config/src/color.rs b/config/src/color.rs index b020e10ee..054533f89 100644 --- a/config/src/color.rs +++ b/config/src/color.rs @@ -86,9 +86,11 @@ impl From for wezterm_term::color::ColorPalette { } } if let Some(indexed) = cfg.indexed { - for (idx, col) in indexed.iter() - .filter_map(|(k, v)| Some((k.parse::().ok()?, v))) - .filter(|&(k, _)| 15 < k && k < 256) { + for (idx, col) in indexed + .iter() + .filter_map(|(k, v)| Some((k.parse::().ok()?, v))) + .filter(|&(k, _)| 15 < k && k < 256) + { p.colors.0[idx] = *col; } }