Revert change.
This commit is contained in:
parent
90b6b15f15
commit
782f6a3e12
@ -299,7 +299,7 @@ impl fmt::Display for ParseError {
|
||||
impl From<ParseErrorType> for Box<EvalAltResult> {
|
||||
#[inline(always)]
|
||||
fn from(err: ParseErrorType) -> Self {
|
||||
err.into()
|
||||
Box::new(err.into())
|
||||
}
|
||||
}
|
||||
|
||||
@ -313,7 +313,7 @@ impl From<ParseErrorType> for EvalAltResult {
|
||||
impl From<ParseError> for Box<EvalAltResult> {
|
||||
#[inline(always)]
|
||||
fn from(err: ParseError) -> Self {
|
||||
err.into()
|
||||
Box::new(err.into())
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user