fixing types still using color_eyre

This commit is contained in:
Chris Cochrun 2024-11-19 11:01:48 -06:00
parent 04a470d771
commit b01eda5e0e

View file

@ -1,4 +1,4 @@
use color_eyre::{eyre::eyre, Result};
use miette::{miette, Result};
use std::{num::ParseIntError, rc::Rc};
#[derive(Debug, Default, Clone, PartialEq, Eq, PartialOrd, Ord)]
@ -46,7 +46,7 @@ impl Value {
pub fn apply(&self, args: LispArgs) -> Result<Value> {
match self {
Self::Function(f, _) => f(args),
_ => Err(eyre!("No function here, shouldn't call apply")),
_ => Err(miette!("No function here, shouldn't call apply")),
}
}
}