Skip to content

Commit 2618596

Browse files
committed
fix(clippy): allow unnecessary_sort_by in mcp_server scoring
1 parent 0ea3218 commit 2618596

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • crates/terraphim_mcp_server/src

crates/terraphim_mcp_server/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1239,6 +1239,7 @@ impl McpService {
12391239
(base + kg_boost, file.relative_path.as_str())
12401240
})
12411241
.collect();
1242+
#[allow(clippy::unnecessary_sort_by)]
12421243
scored.sort_by(|a, b| b.0.cmp(&a.0));
12431244

12441245
let mut contents = Vec::new();

0 commit comments

Comments
 (0)