diff --git a/matrix_sdk_crypto/src/file_encryption/attachments.rs b/matrix_sdk_crypto/src/file_encryption/attachments.rs index 381bf44e..de9ad6c1 100644 --- a/matrix_sdk_crypto/src/file_encryption/attachments.rs +++ b/matrix_sdk_crypto/src/file_encryption/attachments.rs @@ -175,7 +175,7 @@ pub struct EncryptionInfo { mod test { use super::{AttachmentDecryptor, AttachmentEncryptor, EncryptionInfo}; use serde_json::json; - use std::io::{Cursor, Read, Write}; + use std::io::{Cursor, Read}; const EXAMPLE_DATA: &[u8] = &[ 179, 154, 118, 127, 186, 127, 110, 33, 203, 33, 33, 134, 67, 100, 173, 46, 235, 27, 215,