aboutsummaryrefslogtreecommitdiffstats
path: root/crates/atuin-client/src/theme.rs
diff options
context:
space:
mode:
authorRay Kohler <ataraxia937@ataraxia937.xyz>2025-08-11 18:14:21 -0400
committerEllie Huxtable <ellie@elliehuxtable.com>2025-09-10 12:57:43 -0700
commite4ababed6a6b4f4f358c9e2d293e9b10a0954d52 (patch)
treeb81f4bb986384ce59df6ae024f1ccf3c94da08e8 /crates/atuin-client/src/theme.rs
parentfix: run `cargo fmt` (diff)
downloadatuin-e4ababed6a6b4f4f358c9e2d293e9b10a0954d52.zip
fix: clippy warnings I don't have on my version of clippy
Diffstat (limited to 'crates/atuin-client/src/theme.rs')
-rw-r--r--crates/atuin-client/src/theme.rs9
1 files changed, 2 insertions, 7 deletions
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()
}
},