From ec5204af372c7b62bf3c3758c5afc38becf33aad Mon Sep 17 00:00:00 2001 From: Imbris Date: Sun, 26 Sep 2021 11:24:30 -0400 Subject: [PATCH] Add note on a clippy suppression pointing to relevant clippy issue --- server/src/settings/banlist.rs | 2 +- voxygen/src/menu/char_selection/ui/mod.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/server/src/settings/banlist.rs b/server/src/settings/banlist.rs index bc519743cf..35f297b010 100644 --- a/server/src/settings/banlist.rs +++ b/server/src/settings/banlist.rs @@ -78,7 +78,7 @@ pub enum BanErrorKind { #[allow(dead_code)] pub struct BanError { kind: BanErrorKind, - /// Uuid of affected + /// Uuid of affected user uuid: Uuid, /// Username of affected user (as of ban/unban time). username: String, diff --git a/voxygen/src/menu/char_selection/ui/mod.rs b/voxygen/src/menu/char_selection/ui/mod.rs index 9ffb4a5ef5..7955fdbd91 100644 --- a/voxygen/src/menu/char_selection/ui/mod.rs +++ b/voxygen/src/menu/char_selection/ui/mod.rs @@ -378,6 +378,7 @@ impl Controls { .position(|i| i.character.id == Some(id)) }); + // TODO: this appears to be instance of https://github.com/rust-lang/rust-clippy/issues/7579 #[allow(clippy::if_same_then_else)] if let Some(error) = error { // TODO: use more user friendly errors with suggestions on potential solutions