mirror of
https://github.com/tree-sitter/tree-sitter.git
synced 2026-09-10 07:26:23 -04:00
fix: clippy lint
This commit is contained in:
parent
fa6c1471ef
commit
05b2f443ba
|
|
@ -14,7 +14,7 @@ fn read_git_sha() -> Option<String> {
|
|||
if !crate_path
|
||||
.parent()?
|
||||
.parent()
|
||||
.map_or(false, |p| p.join(".git").exists())
|
||||
.is_some_and(|p| p.join(".git").exists())
|
||||
{
|
||||
return None;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue