From 5af3cd2670c2312ce6821a149ed70ebd1bdf5d01 Mon Sep 17 00:00:00 2001 From: Ray Kohler Date: Mon, 11 Aug 2025 16:30:31 -0400 Subject: fix: clean up new rustc and clippy warnings on Rust 1.89 --- crates/atuin-common/src/utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/atuin-common/src') diff --git a/crates/atuin-common/src/utils.rs b/crates/atuin-common/src/utils.rs index f4756263..056412dd 100644 --- a/crates/atuin-common/src/utils.rs +++ b/crates/atuin-common/src/utils.rs @@ -145,7 +145,7 @@ pub fn is_xonsh() -> bool { /// printing history as well as to ensure the commands that appear in the interactive search /// reflect the actual command run rather than just the printable characters. pub trait Escapable: AsRef { - fn escape_control(&self) -> Cow { + fn escape_control(&self) -> Cow<'_, str> { if !self.as_ref().contains(|c: char| c.is_ascii_control()) { self.as_ref().into() } else { -- cgit v1.3.1