瀏覽代碼

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

Ryan Summers 3 年之前
父節點
當前提交
77b77fa736
共有 1 個文件被更改,包括 3 次插入0 次删除
  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>;