mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-17 13:13:34 -04:00
Simplify SyncSettings::default()
This commit is contained in:
@@ -29,12 +29,7 @@ pub struct SyncSettings<'a> {
|
||||
|
||||
impl<'a> Default for SyncSettings<'a> {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
filter: Default::default(),
|
||||
timeout: Some(DEFAULT_SYNC_TIMEOUT),
|
||||
token: Default::default(),
|
||||
full_state: Default::default(),
|
||||
}
|
||||
Self { filter: None, timeout: Some(DEFAULT_SYNC_TIMEOUT), token: None, full_state: false }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user