fixing types still using color_eyre
This commit is contained in:
parent
04a470d771
commit
b01eda5e0e
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
use color_eyre::{eyre::eyre, Result};
|
use miette::{miette, Result};
|
||||||
use std::{num::ParseIntError, rc::Rc};
|
use std::{num::ParseIntError, rc::Rc};
|
||||||
|
|
||||||
#[derive(Debug, Default, Clone, PartialEq, Eq, PartialOrd, Ord)]
|
#[derive(Debug, Default, Clone, PartialEq, Eq, PartialOrd, Ord)]
|
||||||
|
@ -46,7 +46,7 @@ impl Value {
|
||||||
pub fn apply(&self, args: LispArgs) -> Result<Value> {
|
pub fn apply(&self, args: LispArgs) -> Result<Value> {
|
||||||
match self {
|
match self {
|
||||||
Self::Function(f, _) => f(args),
|
Self::Function(f, _) => f(args),
|
||||||
_ => Err(eyre!("No function here, shouldn't call apply")),
|
_ => Err(miette!("No function here, shouldn't call apply")),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue