Skip to content

Commit e97e26c

Browse files
committed
Address code review
1 parent 40f1c0a commit e97e26c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/ark/src/interface.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1426,9 +1426,9 @@ impl RMain {
14261426
// Keep the DAP lock while we are updating breakpoints
14271427
let mut dap_guard = self.debug_dap.lock().unwrap();
14281428
let uri = loc.as_ref().map(|l| l.uri.clone());
1429-
let breakpoints = loc
1429+
let breakpoints = uri
14301430
.as_ref()
1431-
.and_then(|loc| dap_guard.breakpoints.get_mut(&loc.uri))
1431+
.and_then(|uri| dap_guard.breakpoints.get_mut(uri))
14321432
.map(|(_, v)| v.as_mut_slice());
14331433

14341434
match PendingInputs::read(&code, loc, breakpoints) {

0 commit comments

Comments
 (0)