File tree 3 files changed +6
-6
lines changed
matrix-sdk-base/src/store
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -824,10 +824,10 @@ pub enum StateStoreDataKey<'a> {
824
824
825
825
impl StateStoreDataKey < ' _ > {
826
826
/// Key to use for the [`SyncToken`][Self::SyncToken] variant.
827
- pub const SYNC_TOKEN : & str = "sync_token" ;
827
+ pub const SYNC_TOKEN : & ' static str = "sync_token" ;
828
828
/// Key prefix to use for the [`Filter`][Self::Filter] variant.
829
- pub const FILTER : & str = "filter" ;
829
+ pub const FILTER : & ' static str = "filter" ;
830
830
/// Key prefix to use for the [`UserAvatarUrl`][Self::UserAvatarUrl]
831
831
/// variant.
832
- pub const USER_AVATAR_URL : & str = "user_avatar_url" ;
832
+ pub const USER_AVATAR_URL : & ' static str = "user_avatar_url" ;
833
833
}
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ impl std::fmt::Debug for OlmMachine {
144
144
}
145
145
146
146
impl OlmMachine {
147
- const CURRENT_GENERATION_STORE_KEY : & str = "generation-counter" ;
147
+ const CURRENT_GENERATION_STORE_KEY : & ' static str = "generation-counter" ;
148
148
149
149
/// Create a new memory based OlmMachine.
150
150
///
Original file line number Diff line number Diff line change @@ -98,8 +98,8 @@ pub struct NotificationClient {
98
98
}
99
99
100
100
impl NotificationClient {
101
- const CONNECTION_ID : & str = "notifications" ;
102
- const LOCK_ID : & str = "notifications" ;
101
+ const CONNECTION_ID : & ' static str = "notifications" ;
102
+ const LOCK_ID : & ' static str = "notifications" ;
103
103
104
104
/// Create a new builder for a notification client.
105
105
pub async fn builder (
You can’t perform that action at this time.
0 commit comments