mirror of
https://github.com/matter-labs/teepot.git
synced 2025-07-22 07:24:48 +02:00
chore(deps): update to rust version 1.78
and fix the clippy warnings Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
This commit is contained in:
parent
afceacd0d4
commit
a9bb266668
7 changed files with 15 additions and 15 deletions
|
@ -58,7 +58,7 @@ pub async fn post_command(
|
|||
hasher.update(item.commands.as_bytes());
|
||||
let hash = hasher.finalize();
|
||||
let digest = hex::encode(hash);
|
||||
admin_state.last_digest = digest.clone();
|
||||
admin_state.last_digest.clone_from(&digest);
|
||||
conn.store_secret(admin_state, "state").await?;
|
||||
|
||||
let mut responds = VaultCommandsResponse {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue