From e4ababed6a6b4f4f358c9e2d293e9b10a0954d52 Mon Sep 17 00:00:00 2001 From: Ray Kohler Date: Mon, 11 Aug 2025 18:14:21 -0400 Subject: fix: clippy warnings I don't have on my version of clippy --- crates/atuin-client/src/theme.rs | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'crates/atuin-client/src/theme.rs') diff --git a/crates/atuin-client/src/theme.rs b/crates/atuin-client/src/theme.rs index 1d4202b5..fc15bfd8 100644 --- a/crates/atuin-client/src/theme.rs +++ b/crates/atuin-client/src/theme.rs @@ -133,12 +133,7 @@ impl Theme { *name, StyleFactory::from_fg_string(color).unwrap_or_else(|err| { if debug { - log::warn!( - "Tried to load string as a color unsuccessfully: ({}={}) {}", - name, - color, - err - ); + log::warn!("Tried to load string as a color unsuccessfully: ({name}={color}) {err}"); } ContentStyle::default() }), @@ -465,7 +460,7 @@ impl ThemeManager { None => match self.load_theme_from_file(name, max_depth.unwrap_or(DEFAULT_MAX_DEPTH)) { Ok(theme) => theme, Err(err) => { - log::warn!("Could not load theme {}: {}", name, err); + log::warn!("Could not load theme {name}: {err}"); built_ins.get("default").unwrap() } }, -- cgit v1.3.1