matrix-sdk: Allow the key import error to be dead under WASM
parent
26310def0a
commit
3a8ff2f6b4
|
@ -157,6 +157,8 @@ pub enum Error {
|
||||||
#[cfg(feature = "encryption")]
|
#[cfg(feature = "encryption")]
|
||||||
#[cfg_attr(feature = "docs", doc(cfg(encryption)))]
|
#[cfg_attr(feature = "docs", doc(cfg(encryption)))]
|
||||||
#[derive(Error, Debug)]
|
#[derive(Error, Debug)]
|
||||||
|
// This is allowed because key importing isn't enabled under wasm.
|
||||||
|
#[allow(dead_code)]
|
||||||
pub enum RoomKeyImportError {
|
pub enum RoomKeyImportError {
|
||||||
/// An error de/serializing type for the `StateStore`
|
/// An error de/serializing type for the `StateStore`
|
||||||
#[error(transparent)]
|
#[error(transparent)]
|
||||||
|
|
Loading…
Reference in New Issue