chore: fix all clippy warnings across workspace
This commit is contained in:
@@ -77,7 +77,7 @@ impl MeshIdentity {
|
||||
/// contains the Ed25519 seed in the clear.
|
||||
pub fn save(&self, path: &Path) -> anyhow::Result<()> {
|
||||
let file = IdentityFile {
|
||||
seed: hex::encode(&*self.keypair.seed_bytes()),
|
||||
seed: hex::encode(self.keypair.seed_bytes()),
|
||||
peers: self.known_peers.clone(),
|
||||
};
|
||||
let json = serde_json::to_string_pretty(&file)?;
|
||||
|
||||
Reference in New Issue
Block a user