Skip to content

Commit 30d4ad4

Browse files
committed
feat: impl core error for default error type
1 parent 7a1665d commit 30d4ad4

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

msgpacker/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "msgpacker"
3-
version = "0.4.7"
3+
version = "0.4.8"
44
authors = ["Victor Lopez <victor@codx.io>"]
55
categories = ["compression", "encoding", "parser-implementations"]
66
edition = "2021"

msgpacker/src/error.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,4 @@ impl fmt::Display for Error {
2323
}
2424
}
2525

26-
#[cfg(feature = "std")]
27-
impl std::error::Error for Error {}
26+
impl core::error::Error for Error {}

0 commit comments

Comments
 (0)