diff --git a/matrix_sdk/src/client.rs b/matrix_sdk/src/client.rs index fb35bf46..ad5abc1e 100644 --- a/matrix_sdk/src/client.rs +++ b/matrix_sdk/src/client.rs @@ -13,11 +13,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -#[cfg(feature = "encryption")] -use std::{ - collections::HashSet, - io::{Cursor, Write}, -}; #[cfg(all(feature = "encryption", not(target_arch = "wasm32")))] use std::path::PathBuf; use std::{ @@ -36,6 +31,11 @@ use std::{ io::{Error as IoError, ErrorKind as IoErrorKind}, ops::Range, }; +#[cfg(feature = "encryption")] +use std::{ + collections::HashSet, + io::{Cursor, Write}, +}; use dashmap::DashMap; use futures::FutureExt;