diff options
| author | Ray Kohler <ataraxia937@ataraxia937.xyz> | 2025-08-11 16:30:31 -0400 |
|---|---|---|
| committer | Ellie Huxtable <ellie@elliehuxtable.com> | 2025-09-10 12:57:43 -0700 |
| commit | 5af3cd2670c2312ce6821a149ed70ebd1bdf5d01 (patch) | |
| tree | c1ba04b254968d981428b26dfd2f39cdb8b102f8 /crates/atuin-common | |
| parent | chore(deps): bump lukemathwalker/cargo-chef from latest-rust-1.88.0-slim-book... (diff) | |
| download | atuin-5af3cd2670c2312ce6821a149ed70ebd1bdf5d01.zip | |
fix: clean up new rustc and clippy warnings on Rust 1.89
Diffstat (limited to 'crates/atuin-common')
| -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 { |
