Skip to content

Commit b76842a

Browse files
committed
Shared: Fix clippy lint
1 parent 3680613 commit b76842a

File tree

1 file changed

+1
-1
lines changed
  • shared/tree-sitter-extractor/src/extractor

1 file changed

+1
-1
lines changed

shared/tree-sitter-extractor/src/extractor/simple.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ impl Extractor {
122122
tracing::error!(?path, "No file name found, skipping file.");
123123
}
124124
Some(filename) => {
125-
let matches = globset.matches(&filename);
125+
let matches = globset.matches(filename);
126126
if matches.is_empty() {
127127
tracing::error!(?path, "No matching language found, skipping file.");
128128
} else {

0 commit comments

Comments
 (0)