Don't convert TryFromSliceError to badarg
-use core::array::TryFromSliceError;
use core::convert::TryFrom;
use thiserror::Error;
@@ -70,12 +69,6 @@ impl RuntimeException {
}
}
-impl From<TryFromSliceError> for RuntimeException {
- fn from(_: TryFromSliceError) -> Self {
- super::badarg(location!())
- }
-}
-
impl From<TypeError> for RuntimeException {
fn from(_: TypeError) -> Self {
super::badarg(location!())
