Skip to content

Commit

Permalink
Add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
liuchengxu committed Apr 19, 2024
1 parent df089cc commit 170eddb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/maple_core/src/searcher/grep/stoppable_searcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,9 @@ impl StoppableSearchImpl {
struct BestFileResults {
/// Time of last notification.
past: Instant,
// TODO: Use BinaryHeap than sorted vector.
//
// Blocked by https://github.com/rust-lang/rust/pull/124012
results: Vec<FileResult>,
last_lines: Vec<String>,
last_visible_highlights: Vec<Vec<usize>>,
Expand Down

0 comments on commit 170eddb

Please sign in to comment.