chore: clippy lints
This commit is contained in:
parent
4342efd57e
commit
e32a7f3998
4 changed files with 17 additions and 14 deletions
|
|
@ -449,7 +449,7 @@ impl Loader {
|
|||
.join(format!("{name}.lock"))
|
||||
} else {
|
||||
dirs::cache_dir()
|
||||
.ok_or(anyhow!("Cannot determine cache directory"))?
|
||||
.ok_or_else(|| anyhow!("Cannot determine cache directory"))?
|
||||
.join("tree-sitter")
|
||||
.join("lock")
|
||||
.join(format!("{name}.lock"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue