enable ignored_unit_patterns lint

This commit is contained in:
Charles Hall 2024-05-14 17:03:46 -07:00
parent 623824dc0c
commit b0f65913f3
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF
5 changed files with 6 additions and 8 deletions

View file

@ -842,7 +842,7 @@ impl Service {
let pub_key_map = pub_key_map.read().await;
match ruma::signatures::verify_json(&pub_key_map, &value) {
Ok(_) => RoomMessageEventContent::text_plain("Signature correct"),
Ok(()) => RoomMessageEventContent::text_plain("Signature correct"),
Err(e) => RoomMessageEventContent::text_plain(format!(
"Signature verification failed: {e}"
)),