CI: xtask: Resolve warning about mixed lifetimes

This commit is contained in:
Henrik Tjäder 2025-09-17 19:35:39 +02:00
parent a23530bf86
commit 1102197217

View file

@ -700,7 +700,7 @@ impl<'a> CargoCommand<'a> {
} }
} }
fn target(&self) -> Option<&Target> { fn target(&'_ self) -> Option<&'_ Target<'_>> {
match self { match self {
CargoCommand::Run { target, .. } CargoCommand::Run { target, .. }
| CargoCommand::Qemu { target, .. } | CargoCommand::Qemu { target, .. }