mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
YJIT: Fix mismatched_lifetime_syntaxes
, new in Rust 1.89.0
This commit is contained in:
parent
5b956fbf60
commit
6e3790b17f
1 changed files with 2 additions and 2 deletions
|
@ -528,13 +528,13 @@ pub enum Insn {
|
|||
impl Insn {
|
||||
/// Create an iterator that will yield a non-mutable reference to each
|
||||
/// operand in turn for this instruction.
|
||||
pub(super) fn opnd_iter(&self) -> InsnOpndIterator {
|
||||
pub(super) fn opnd_iter(&self) -> InsnOpndIterator<'_> {
|
||||
InsnOpndIterator::new(self)
|
||||
}
|
||||
|
||||
/// Create an iterator that will yield a mutable reference to each operand
|
||||
/// in turn for this instruction.
|
||||
pub(super) fn opnd_iter_mut(&mut self) -> InsnOpndMutIterator {
|
||||
pub(super) fn opnd_iter_mut(&mut self) -> InsnOpndMutIterator<'_> {
|
||||
InsnOpndMutIterator::new(self)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue