feat(qrcode): DecodingError::Identifier is no longer useful.

This commit is contained in:
Ivan Enderlin
2022-09-08 16:14:30 +02:00
parent cb21d89229
commit fa6745bb60

View File

@@ -30,9 +30,6 @@ pub enum DecodingError {
/// The QR code data is using an unsupported or invalid verification mode.
#[error("the QR code contains an invalid verification mode: {0}")]
Mode(u8),
/// The flow id is not a valid event ID.
#[error(transparent)]
Identifier(#[from] ruma_common::IdParseError),
#[error(transparent)]
/// The QR code data does not contain all the necessary fields.
Read(#[from] std::io::Error),