mirror of
https://github.com/chatmail/core.git
synced 2026-04-28 19:06:35 +03:00
Fix nightly clippy warnings
This commit is contained in:
committed by
link2xt
parent
92b304dee4
commit
332a387c98
@@ -70,10 +70,7 @@ impl ChatId {
|
||||
///
|
||||
/// This kind of chat ID can not be used for real chats.
|
||||
pub fn is_special(self) -> bool {
|
||||
match self.0 {
|
||||
0..=DC_CHAT_ID_LAST_SPECIAL => true,
|
||||
_ => false,
|
||||
}
|
||||
matches!(self.0, 0..=DC_CHAT_ID_LAST_SPECIAL)
|
||||
}
|
||||
|
||||
/// Chat ID which represents the deaddrop chat.
|
||||
|
||||
Reference in New Issue
Block a user