Skip to content

Commit 1102197

Browse files
committed
CI: xtask: Resolve warning about mixed lifetimes
1 parent a23530b commit 1102197

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xtask/src/cargo_command.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@ impl<'a> CargoCommand<'a> {
700700
}
701701
}
702702

703-
fn target(&self) -> Option<&Target> {
703+
fn target(&'_ self) -> Option<&'_ Target<'_>> {
704704
match self {
705705
CargoCommand::Run { target, .. }
706706
| CargoCommand::Qemu { target, .. }

0 commit comments

Comments
 (0)