There was an error while loading. Please reload this page.
1 parent 0faff82 commit c646d69Copy full SHA for c646d69
1 file changed
packed_struct/src/packing.rs
@@ -65,8 +65,7 @@ impl crate::Display for PackingError {
65
}
66
67
68
-#[cfg(feature="std")]
69
-impl ::std::error::Error for PackingError {
+impl ::core::error::Error for PackingError {
70
fn description(&self) -> &str {
71
match *self {
72
PackingError::InvalidValue => "Invalid value",
0 commit comments