signatures: Silence unreachable lint with unstable-exhaustive-patterns
This commit is contained in:
parent
08002e2640
commit
6b04b6c567
@ -52,6 +52,7 @@ impl From<RedactionError> for Error {
|
|||||||
RedactionError::JsonFieldMissingFromObject(field) => {
|
RedactionError::JsonFieldMissingFromObject(field) => {
|
||||||
JsonError::JsonFieldMissingFromObject(field).into()
|
JsonError::JsonFieldMissingFromObject(field).into()
|
||||||
}
|
}
|
||||||
|
#[allow(unreachable_patterns)]
|
||||||
_ => unreachable!(),
|
_ => unreachable!(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user