diff --git a/crates/matrix-sdk/src/config/client.rs b/crates/matrix-sdk/src/config/client.rs index fbd761110..2781ffe24 100644 --- a/crates/matrix-sdk/src/config/client.rs +++ b/crates/matrix-sdk/src/config/client.rs @@ -127,10 +127,11 @@ impl ClientConfig { /// * `path` - The path where the stores should save data in. It is the /// callers responsibility to make sure that the path exists. /// - /// In the default configuration the client will open default - /// implementations for the crypto store and the state store. It will use - /// the given path to open the stores. If no path is provided no store will - /// be opened + /// In the default configuration, and if the corresponding features + /// (`sled_state_store` and `sled_cryptostore`) are enabled, the client will + /// open default implementations for the crypto store and the state store. + /// It will use the given path to open the stores. If no path is provided an + /// in-memory store will be opened. #[must_use] pub fn store_path(mut self, path: impl AsRef) -> Self { self.base_config = self.base_config.store_path(path);