diff --git a/src/fmt.rs b/src/fmt.rs index da24918..5344ca1 100644 --- a/src/fmt.rs +++ b/src/fmt.rs @@ -10,13 +10,13 @@ where self.context .as_ref() .map(|context| context.display(self.error(), f)) - .unwrap_or_else(|| std::fmt::Display::fmt(self.error(), f)) + .unwrap_or_else(|| core::fmt::Display::fmt(self.error(), f)) } pub(crate) fn debug(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { self.context .as_ref() .map(|context| context.debug(self.error(), f)) - .unwrap_or_else(|| std::fmt::Debug::fmt(self.error(), f)) + .unwrap_or_else(|| core::fmt::Debug::fmt(self.error(), f)) } }