mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 16:55:46 +00:00
Update Rust Edition to 2024 (#7766)
* #7749 Thanks @dknopik and @michaelsproul for your help!
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
use eth2_wallet::Error as WalletError;
|
||||
use eth2_wallet::{Uuid, Wallet};
|
||||
use std::fs::{copy as copy_file, remove_file, File};
|
||||
use std::fs::{File, copy as copy_file, remove_file};
|
||||
use std::io;
|
||||
use std::path::{Path, PathBuf};
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
use crate::{
|
||||
filesystem::{read, update},
|
||||
Error,
|
||||
filesystem::{read, update},
|
||||
};
|
||||
use eth2_wallet::{Uuid, ValidatorKeystores, Wallet};
|
||||
use lockfile::Lockfile;
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
use crate::{
|
||||
filesystem::{create, Error as FilesystemError},
|
||||
LockedWallet,
|
||||
filesystem::{Error as FilesystemError, create},
|
||||
};
|
||||
use eth2_wallet::{bip39::Mnemonic, Error as WalletError, Uuid, Wallet, WalletBuilder};
|
||||
use eth2_wallet::{Error as WalletError, Uuid, Wallet, WalletBuilder, bip39::Mnemonic};
|
||||
use lockfile::LockfileError;
|
||||
use std::collections::HashMap;
|
||||
use std::ffi::OsString;
|
||||
use std::fs::{create_dir_all, read_dir, File};
|
||||
use std::fs::{File, create_dir_all, read_dir};
|
||||
use std::io;
|
||||
use std::path::{Path, PathBuf};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user