From 595a376a62b63a5e1c6fda11c41d13a99d0a7c91 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sun, 28 Apr 2024 19:11:12 +0100 Subject: [PATCH] fix(fs): add missing std::error::Error impl for fs::Error --- Cargo.toml | 2 +- src/fs/mod.rs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index feb7876..d84a2db 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kxio" -version = "1.1.0" +version = "1.1.1" edition = "2021" authors = ["Paul Campbell "] description = "Provides injectable Filesystem and Network resources to make code more testable" diff --git a/src/fs/mod.rs b/src/fs/mod.rs index 6dde792..3b96fc9 100644 --- a/src/fs/mod.rs +++ b/src/fs/mod.rs @@ -18,6 +18,8 @@ pub enum Error { path: PathBuf, }, } +impl std::error::Error for Error {} + pub type Result = core::result::Result; pub const fn new(base: PathBuf) -> FileSystem {