Explorar o código

Merge branch 'master' into rs/issue-281/ethernet-dos

Ryan Summers %!s(int64=3) %!d(string=hai) anos
pai
achega
77b77fa736
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      src/lib.rs

+ 3 - 0
src/lib.rs

@@ -160,6 +160,9 @@ pub enum Error {
     Dropped,
 }
 
+#[cfg(feature = "std")]
+impl std::error::Error for Error {}
+
 /// The result type for the networking stack.
 pub type Result<T> = core::result::Result<T, Error>;