I was soooo close

This commit is contained in:
Conrad Irwin 2023-12-04 21:37:47 +00:00
parent 2c2e5144c9
commit 79773178c8

View file

@ -176,7 +176,7 @@ impl DispatchTree {
return false; return false;
} }
for i in 1..context_stack.len() { for i in 1..context_stack.len() {
if candidate.matches_context(&context_stack[0..i]) { if candidate.matches_context(&context_stack[0..=i]) {
return true; return true;
} }
} }