mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-20 13:24:44 +00:00
Fix Rust beta compiler warnings (rustc 1.75.0-beta.1 (782883f60 2023-11-12)) (#4932)
This commit is contained in:
@@ -1635,7 +1635,7 @@ mod deneb_only {
|
||||
self
|
||||
}
|
||||
fn invalidate_blobs_too_many(mut self) -> Self {
|
||||
let first_blob = self.blobs.get(0).expect("blob").clone();
|
||||
let first_blob = self.blobs.first().expect("blob").clone();
|
||||
self.blobs.push(first_blob);
|
||||
self
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user