From fc605938010e19cf7565df30d716e22f14817c7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Tue, 8 Sep 2020 17:34:34 +0200 Subject: [PATCH] crypto: Remove some unused into implementation. --- matrix_sdk_crypto/src/store/sqlite.rs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/matrix_sdk_crypto/src/store/sqlite.rs b/matrix_sdk_crypto/src/store/sqlite.rs index 408183b4..d40ca12b 100644 --- a/matrix_sdk_crypto/src/store/sqlite.rs +++ b/matrix_sdk_crypto/src/store/sqlite.rs @@ -80,16 +80,6 @@ enum CrosssigningKeyType { UserSigning = 2, } -impl Into for CrosssigningKeyType { - fn into(self) -> KeyUsage { - match self { - CrosssigningKeyType::Master => KeyUsage::Master, - CrosssigningKeyType::SelfSigning => KeyUsage::SelfSigning, - CrosssigningKeyType::UserSigning => KeyUsage::UserSigning, - } - } -} - static DATABASE_NAME: &str = "matrix-sdk-crypto.db"; impl SqliteStore {