diff options
Diffstat (limited to 'crates/atuin-common/src/utils.rs')
| -rw-r--r-- | crates/atuin-common/src/utils.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<str> { - fn escape_control(&self) -> Cow<str> { + fn escape_control(&self) -> Cow<'_, str> { if !self.as_ref().contains(|c: char| c.is_ascii_control()) { self.as_ref().into() } else { |
