Skip to content

Commit 4cde428

Browse files
Daniel SalinasDaniel Salinas
authored andcommitted
Cargo fmt
1 parent 5dc20db commit 4cde428

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

bindings/matrix-sdk-ffi/src/session_store.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ use std::path::PathBuf;
44
#[cfg(feature = "sqlite")]
55
use matrix_sdk::SqliteStoreConfig;
66

7-
87
/// The result of building a [`SessionStoreConfig`], with data that
98
/// can be passed directly to a ClientBuilder.
109
pub enum SessionStoreResult {
@@ -22,9 +21,8 @@ mod sqlite_session_store {
2221
use tracing::debug;
2322
use zeroize::Zeroizing;
2423

25-
use crate::helpers::unwrap_or_clone_arc;
2624
use super::SessionStoreResult;
27-
use crate::client_builder::ClientBuildError;
25+
use crate::{client_builder::ClientBuildError, helpers::unwrap_or_clone_arc};
2826

2927
/// The store paths the client will use when built.
3028
#[derive(Clone)]
@@ -234,7 +232,6 @@ pub enum SessionStoreConfig {
234232
IndexedDb(IndexedDbSessionStoreBuilder),
235233
}
236234

237-
238235
impl SessionStoreConfig {
239236
pub(crate) fn build(&self) -> Result<SessionStoreResult, ClientBuildError> {
240237
match self {

0 commit comments

Comments
 (0)