chore: a few minor lints

* do not use `&` for the format args as it cannot (yet) be optimized by the compiler
* a few format inlining
This commit is contained in:
Yuri Astrakhan 2025-01-21 00:13:50 -05:00 committed by Amaan Qureshi
parent c8353a52af
commit 9dbe165296
11 changed files with 32 additions and 36 deletions

View file

@ -97,7 +97,7 @@ pub fn test_tags_indented(
})?;
let tags_config = language_config
.tags_config(language)?
.ok_or_else(|| anyhow!("No tags config found for {:?}", test_file_path))?;
.ok_or_else(|| anyhow!("No tags config found for {test_file_path:?}"))?;
match test_tag(
tags_context,
tags_config,