fix: clippy lint
This commit is contained in:
parent
fa6c1471ef
commit
05b2f443ba
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue