diff --git a/src/lib.rs b/src/lib.rs index f80a65f..6859074 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -244,6 +244,7 @@ impl fmt::Display for NotFoundError { write!(f, "path starting at offset {} not found", self.offset) } } + #[cfg(feature = "std")] impl std::error::Error for NotFoundError {}