mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 11:07:44 +00:00
Merge pull request #8269 from sylvestre/clippy
uucore: fix clippy warnings - the following explicit lifetimes could be elided: 'a
This commit is contained in:
commit
6275e62f87
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
fn push_char(&mut self, input: char) {
|
||||||
let escaped = EscapedChar::new_shell(input, false, self.quotes);
|
let escaped = EscapedChar::new_shell(input, false, self.quotes);
|
||||||
|
|
||||||
|
@ -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) {
|
fn push_char(&mut self, input: char) {
|
||||||
let escaped = EscapedChar::new_shell(input, true, self.quotes);
|
let escaped = EscapedChar::new_shell(input, true, self.quotes);
|
||||||
match escaped.state {
|
match escaped.state {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue