From b01eda5e0e3df469b45ff91424f7ad6f806cbca3 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Tue, 19 Nov 2024 11:01:48 -0600 Subject: [PATCH] fixing types still using color_eyre --- src/types.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/types.rs b/src/types.rs index b553a70..a4fcc48 100644 --- a/src/types.rs +++ b/src/types.rs @@ -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 { 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")), } } }