mirror of
https://github.com/crate-ci/typos.git
synced 2026-11-10 08:13:53 +01:00
style: Make clippy happy
This commit is contained in:
1 parent
17f77b960b
commit
5f38952876
1 file changed
+1
-1
@@ -193,7 +193,7 @@ impl<'s> ConfigEngine<'s> {
|
||||
for (type_name, type_engine) in type_.patterns() {
|
||||
if type_engine.extend_glob.is_empty() {
|
||||
if !type_matcher.contains_name(&type_name) {
|
||||
anyhow::bail!("Unknown type definition `{}`, pass `--type-list` to see valid names or set `extend-glob` to add a new one.", type_name);
|
||||
anyhow::bail!("Unknown type definition `{type_name}`, pass `--type-list` to see valid names or set `extend-glob` to add a new one.");
|
||||
}
|
||||
} else {
|
||||
for glob in type_engine.extend_glob.iter() {
|
||||
|
||||
Reference in new issue
Block a user