mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-19 22:26:13 -04:00
fix(crypto): Remove some dead code
This commit is contained in:
@@ -71,12 +71,6 @@ pub struct RecoveryKey {
|
||||
version: Option<String>,
|
||||
}
|
||||
|
||||
impl RecoveryKey {
|
||||
fn as_bytes(&self) -> &[u8] {
|
||||
&self.key
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
pub struct PickledRecoveryKey(String);
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#![allow(dead_code, missing_docs)]
|
||||
#![allow(missing_docs)]
|
||||
|
||||
use std::{
|
||||
collections::{BTreeMap, BTreeSet},
|
||||
|
||||
Reference in New Issue
Block a user