Ver Fonte

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

Ryan Summers há 3 anos atrás
pai
commit
77b77fa736
1 ficheiros alterados com 3 adições e 0 exclusões
  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>;