From 9a1c2da5d9e1b5ca7fb8f8c246827351ca89d5c8 Mon Sep 17 00:00:00 2001 From: Asger F Date: Fri, 8 May 2026 14:22:01 +0200 Subject: [PATCH] Fix clippy: inline variable in format string Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- shared/tree-sitter-extractor/src/extractor/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/tree-sitter-extractor/src/extractor/mod.rs b/shared/tree-sitter-extractor/src/extractor/mod.rs index 4ec16269c1f..00816a00fd0 100644 --- a/shared/tree-sitter-extractor/src/extractor/mod.rs +++ b/shared/tree-sitter-extractor/src/extractor/mod.rs @@ -486,7 +486,7 @@ impl<'a> Visitor<'a> { let table = self .schema .get(&type_name) - .unwrap_or_else(|| panic!("missing extractor schema entry for {:?}", type_name)); + .unwrap_or_else(|| panic!("missing extractor schema entry for {type_name:?}")); let mut valid = true; let parent_info = match self.stack.last_mut() { Some(p) if !node.is_extra() => {