Fix one of the two remaining warnings.

One of them was a lot more obvious than I thought.
pull/400/head
Nathan Vegdahl 3 years ago
parent 220bc85821
commit c389f41f14

@ -1481,7 +1481,6 @@ where
// local scope at the top of the scope stack. // local scope at the top of the scope stack.
else if Some(capture.index) == layer.config.local_def_capture_index { else if Some(capture.index) == layer.config.local_def_capture_index {
reference_highlight = None; reference_highlight = None;
definition_highlight = None;
let scope = layer.scope_stack.last_mut().unwrap(); let scope = layer.scope_stack.last_mut().unwrap();
let mut value_range = 0..0; let mut value_range = 0..0;

Loading…
Cancel
Save