chore: apply beta clippy fixes

This commit is contained in:
link2xt
2025-05-20 14:05:58 +00:00
parent 877f873910
commit a68ddab703
8 changed files with 12 additions and 13 deletions

View File

@@ -965,7 +965,7 @@ impl Message {
let fingerprint = load_self_public_key(context).await?.dc_fingerprint().hex();
let data = format!("{}-{}", fingerprint, self.rfc724_mid);
let hash = Sha256::digest(data.as_bytes());
Ok(format!("{:x}", hash))
Ok(format!("{hash:x}"))
}
/// Get link attached to an info message.