Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaBatty committed Nov 26, 2024
1 parent 046de5e commit 3b611b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sway-lsp/src/capabilities/document_symbol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ pub fn to_document_symbols(
engines: &Engines,
token_map: &TokenMap,
) -> Vec<DocumentSymbol> {
let source_id = engines.se().get_source_id(&path);
let source_id = engines.se().get_source_id(path);

// Find if there is a configurable symbol in the token map that belongs to the current file
// We will add children symbols to this when we encounter a configurable declarations below.
Expand Down

0 comments on commit 3b611b6

Please sign in to comment.