mirror of
https://github.com/chatmail/core.git
synced 2026-05-03 13:26:28 +03:00
chore: fix Rust 1.91.0 lint for derivable Default
This commit is contained in:
@@ -381,9 +381,11 @@ impl rusqlite::types::FromSql for MsgId {
|
||||
ToSql,
|
||||
Serialize,
|
||||
Deserialize,
|
||||
Default,
|
||||
)]
|
||||
#[repr(u8)]
|
||||
pub(crate) enum MessengerMessage {
|
||||
#[default]
|
||||
No = 0,
|
||||
Yes = 1,
|
||||
|
||||
@@ -391,12 +393,6 @@ pub(crate) enum MessengerMessage {
|
||||
Reply = 2,
|
||||
}
|
||||
|
||||
impl Default for MessengerMessage {
|
||||
fn default() -> Self {
|
||||
Self::No
|
||||
}
|
||||
}
|
||||
|
||||
/// An object representing a single message in memory.
|
||||
/// The message object is not updated.
|
||||
/// If you want an update, you have to recreate the object.
|
||||
|
||||
Reference in New Issue
Block a user