mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 06:41:48 +00:00
Bump deps
This commit is contained in:
parent
9ae3158292
commit
9a624abc84
3 changed files with 10 additions and 11 deletions
|
@ -480,7 +480,7 @@ impl FunctionBody {
|
|||
.statements()
|
||||
.map(|stmt| stmt.syntax().text_range())
|
||||
.filter(|&stmt| selected.intersect(stmt).filter(|it| !it.is_empty()).is_some())
|
||||
.fold1(|acc, stmt| acc.cover(stmt));
|
||||
.reduce(|acc, stmt| acc.cover(stmt));
|
||||
if let Some(tail_range) = parent
|
||||
.tail_expr()
|
||||
.map(|it| it.syntax().text_range())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue