Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.

Commit 604033a

Browse files
author
Hendrik van Antwerpen
committed
Remove unnecessary parameter
1 parent 698efcb commit 604033a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tree-sitter-stack-graphs/src/loader.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ impl Loader {
197197
) -> Result<Option<&LanguageConfiguration>, LoadError> {
198198
match &mut self.0 {
199199
LoaderImpl::Paths(loader) => loader.load_for_file(path, content, cancellation_flag),
200-
LoaderImpl::Provided(loader) => loader.load_for_file(path, content, cancellation_flag),
200+
LoaderImpl::Provided(loader) => loader.load_for_file(path, content),
201201
}
202202
}
203203

@@ -319,7 +319,6 @@ impl LanguageConfigurationsLoader {
319319
&mut self,
320320
path: &Path,
321321
content: Option<&str>,
322-
_cancellation_flag: &dyn CancellationFlag,
323322
) -> Result<Option<&LanguageConfiguration>, LoadError> {
324323
let language = match self
325324
.configurations

0 commit comments

Comments
 (0)