File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 11[package ]
22name = " rowan"
3- version = " 0.16.0 "
3+ version = " 0.16.1 "
44authors = [
" Aleksey Kladov <[email protected] >" ]
55repository = " https://github.com/rust-analyzer/rowan"
66license = " MIT OR Apache-2.0"
Original file line number Diff line number Diff line change @@ -408,7 +408,7 @@ impl NodeData {
408408 let rev_siblings = self . green_siblings ( ) . enumerate ( ) . rev ( ) ;
409409 let index = rev_siblings. len ( ) . checked_sub ( self . index ( ) as usize ) ?;
410410
411- rev_siblings. skip ( index + 1 ) . find_map ( |( index, child) | {
411+ rev_siblings. skip ( index) . find_map ( |( index, child) | {
412412 child. as_ref ( ) . into_node ( ) . and_then ( |green| {
413413 let parent = self . parent_node ( ) ?;
414414 let offset = parent. offset ( ) + child. rel_offset ( ) ;
You can’t perform that action at this time.
0 commit comments