Rust 1.92 lints (#8567)

Co-Authored-By: Eitan Seri-Levi <eserilev@ucsc.edu>
This commit is contained in:
Eitan Seri-Levi
2025-12-12 05:45:38 -03:00
committed by GitHub
parent 5abbdb660a
commit 556e917092
5 changed files with 2 additions and 7 deletions

View File

@@ -770,7 +770,7 @@ impl ClientVersionV1 {
self.commit
.0
.get(..4)
.map_or_else(|| self.commit.0.as_str(), |s| s)
.unwrap_or(self.commit.0.as_str())
.to_lowercase(),
lighthouse_commit_prefix
.0