mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-20 13:24:44 +00:00
Rust 1.86.0 lints (#7254)
Implement lints for the new Rust compiler version 1.86.0.
This commit is contained in:
@@ -143,7 +143,7 @@ impl<E: EthSpec> LoadCase for ForkChoiceTest<E> {
|
||||
fn load_from_dir(path: &Path, fork_name: ForkName) -> Result<Self, Error> {
|
||||
let description = path
|
||||
.iter()
|
||||
.last()
|
||||
.next_back()
|
||||
.expect("path must be non-empty")
|
||||
.to_str()
|
||||
.expect("path must be valid OsStr")
|
||||
|
||||
Reference in New Issue
Block a user