Skip to content

Commit c6614d4

Browse files
XrXrk0kubun
authored andcommitted
YJIT: Fix mismatched_lifetime_syntaxes, new in Rust 1.89.0
1 parent 5026609 commit c6614d4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

yjit/src/backend/ir.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -528,13 +528,13 @@ pub enum Insn {
528528
impl Insn {
529529
/// Create an iterator that will yield a non-mutable reference to each
530530
/// operand in turn for this instruction.
531-
pub(super) fn opnd_iter(&self) -> InsnOpndIterator {
531+
pub(super) fn opnd_iter(&self) -> InsnOpndIterator<'_> {
532532
InsnOpndIterator::new(self)
533533
}
534534

535535
/// Create an iterator that will yield a mutable reference to each operand
536536
/// in turn for this instruction.
537-
pub(super) fn opnd_iter_mut(&mut self) -> InsnOpndMutIterator {
537+
pub(super) fn opnd_iter_mut(&mut self) -> InsnOpndMutIterator<'_> {
538538
InsnOpndMutIterator::new(self)
539539
}
540540

0 commit comments

Comments
 (0)