diff --git a/crates/matrix-sdk-indexeddb/src/state_store/migrations.rs b/crates/matrix-sdk-indexeddb/src/state_store/migrations.rs index ef66ef5bd..262a1da62 100644 --- a/crates/matrix-sdk-indexeddb/src/state_store/migrations.rs +++ b/crates/matrix-sdk-indexeddb/src/state_store/migrations.rs @@ -130,14 +130,14 @@ pub async fn upgrade_meta_db( Ok((meta_db, store_cipher)) } -// Helper struct for upgrading the inner DB. +/// Helper struct for upgrading the inner DB. #[derive(Debug, Clone, Default)] pub struct OngoingMigration { - // Names of stores to drop. + /// Names of stores to drop. drop_stores: HashSet<&'static str>, - // Names of stores to create. + /// Names of stores to create. create_stores: HashSet<&'static str>, - // Store name => key-value data to add. + /// Store name => key-value data to add. data: HashMap<&'static str, Vec<(JsValue, JsValue)>>, }