8000 uucore: fix clippy warnings - the following explicit lifetimes could be elided: 'a by sylvestre · Pull Request #8269 · uutils/coreutils · GitHub
[go: up one dir, main page]

Skip to content

uucore: fix clippy warnings - the following explicit lifetimes could be elided: 'a #8269

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 25, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/uucore/src/lib/features/quoting_style/shell_quoter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ impl<'a> NonEscapedShellQuoter<'a> {
}
}

impl<'a> Quoter for NonEscapedShellQuoter<'a> {
impl Quoter for NonEscapedShellQuoter<'_> {
fn push_char(&mut self, input: char) {
let escaped = EscapedChar::new_shell(input, false, self.quotes);

Expand Down Expand Up @@ -133,7 +133,7 @@ impl<'a> EscapedShellQuoter<'a> {
}
}

impl<'a> Quoter for EscapedShellQuoter<'a> {
impl Quoter for EscapedShellQuoter<'_> {
fn push_char(&mut self, input: char) {
let escaped = EscapedChar::new_shell(input, true, self.quotes);
match escaped.state {
Expand Down
Loading
0