Skip to content

Commit

Permalink
Merge pull request #158 from sablier-labs/iaro/clippy-issue-on-main
Browse files Browse the repository at this point in the history
fix: clippy CI issue on main
  • Loading branch information
IaroslavMazur authored Sep 13, 2024
2 parents 51f5384 + 3b10945 commit 4330752
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/interpreter/src/function_stack.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ impl FunctionStack {

/// Pops a frame from the stack and sets current_code_idx to the popped frame's idx.
pub fn pop(&mut self) -> Option<FunctionReturnFrame> {
self.return_stack.pop().map(|frame| {
self.return_stack.pop().inspect(|frame| {
self.current_code_idx = frame.idx;
frame
})
Expand Down

0 comments on commit 4330752

Please # to comment.