apply clippy advices on executor/commands lifetimes.

This commit is contained in:
David Carlier authored and David Peter committed 2024-11-11 08:47:33 +01:00
1 parent 74615f01fb
commit 2899deb8fd
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -383,7 +383,7 @@ fn test_get_parameterized_command_name() {
assert_eq!(cmd.get_name(), "name-quux-baz");
}
impl<'a> fmt::Display for Command<'a> {
impl fmt::Display for Command<'_> {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
write!(f, "{}", self.get_command_line())
}