mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Add note on a clippy suppression pointing to relevant clippy issue
This commit is contained in:
parent
746a6efb7f
commit
67e3b87717
@ -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,
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user