Skip to content

Commit 9a1c2da

Browse files
asgerfCopilot
andcommitted
Fix clippy: inline variable in format string
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 638dc93 commit 9a1c2da

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • shared/tree-sitter-extractor/src/extractor

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ impl<'a> Visitor<'a> {
486486
let table = self
487487
.schema
488488
.get(&type_name)
489-
.unwrap_or_else(|| panic!("missing extractor schema entry for {:?}", type_name));
489+
.unwrap_or_else(|| panic!("missing extractor schema entry for {type_name:?}"));
490490
let mut valid = true;
491491
let parent_info = match self.stack.last_mut() {
492492
Some(p) if !node.is_extra() => {

0 commit comments

Comments
 (0)