Skip to content

Commit 57e3ed0

Browse files
committed
clean code
1 parent 65870c5 commit 57e3ed0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

crates/emmylua_code_analysis/src/db_index/flow/flow_chain.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
use emmylua_parser::{LuaAstNode, LuaChunk, LuaClosureExpr, LuaSyntaxKind, LuaSyntaxNode};
2-
use itertools::Itertools;
32
use rowan::{TextRange, TextSize};
43

54
use crate::db_index::TypeAssertion;
@@ -41,7 +40,6 @@ impl LuaFlowChain {
4140
.filter(move |assert| {
4241
assert.allow_flow_id.contains(&flow_id) && assert.range.contains(position)
4342
})
44-
.sorted_by_key(|assert| assert.range.start())
4543
.map(|assert| &assert.type_assert)
4644
}
4745
}

0 commit comments

Comments
 (0)