Skip to content

Commit

Permalink
Apply review
Browse files Browse the repository at this point in the history
  • Loading branch information
HalidOdat authored May 4, 2023
1 parent 4ccc5e6 commit 55f9a66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boa_cli/src/debug/limits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use boa_engine::{
};

fn get_loop(_: &JsValue, _: &[JsValue], context: &mut Context<'_>) -> JsResult<JsValue> {
let max = context.runtime_limits_mut().loop_iteration_limit();
let max = context.runtime_limits().loop_iteration_limit();
Ok(JsValue::from(max))
}

Expand Down

0 comments on commit 55f9a66

Please sign in to comment.