Skip to content

Commit 8aa4afb

Browse files
committed
Remove needless corpus path borrow
Fixes the clippy::needless_borrows_for_generic_args lint error reported by Clippy 1.98. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: aaf47101-2cb9-4d38-9f6a-e492c4da4135
1 parent fe80b8e commit 8aa4afb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎unified/extractor/tests/corpus_tests.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ fn test_corpus() {
123123
let output_schema = yeast::node_types_yaml::schema_from_yaml(languages::OUTPUT_AST_SCHEMA)
124124
.expect("Failed to parse OUTPUT_AST_SCHEMA YAML");
125125

126-
let lang_corpus_dir = corpus_dir.join(&lang.prefix);
126+
let lang_corpus_dir = corpus_dir.join(lang.prefix);
127127
if !lang_corpus_dir.exists() {
128128
continue;
129129
}

0 commit comments

Comments
 (0)