Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
raviqqe committed Dec 10, 2024
1 parent 0582e97 commit a75d47d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion melior/src/ir/block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ impl<'c> Block<'c> {
}
}

impl<'c, 'v> BlockApi<'c, 'v> for Block<'c> {
impl<'c, 'v> BlockApi<'c, 'v> for &'v Block<'c> {
fn argument(&self, index: usize) -> Result<BlockArgument<'c, 'v>, Error> {
unsafe {
if index < self.argument_count() {
Expand Down

0 comments on commit a75d47d

Please sign in to comment.