don't use core::error for compiler compatibility
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use core::{convert::Infallible, error::Error, fmt::Display};
|
||||
use core::{convert::Infallible, fmt::Display};
|
||||
|
||||
use num_traits::{PrimInt, Unsigned};
|
||||
|
||||
@@ -11,7 +11,6 @@ pub enum StackCalcError {
|
||||
DecimalError(DecimalError),
|
||||
}
|
||||
|
||||
impl Error for StackCalcError {}
|
||||
impl Display for StackCalcError {
|
||||
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
|
||||
match self {
|
||||
|
||||
Reference in New Issue
Block a user