Skip to content

Commit 1f26408

Browse files
committed
Switch to core::error::Error
1 parent c8b1a2f commit 1f26408

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ categories = ["no-std", "data-structures"]
1414
keywords = ["generic-array"]
1515
readme = "README.md"
1616
edition = "2021"
17-
rust-version = "1.65"
17+
rust-version = "1.81.0"
1818

1919
[dependencies]
2020
typenum = { version = "1.17", features = ["const-generics"] }

src/iter.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ impl fmt::Display for TryFromIteratorError {
1818
}
1919
}
2020

21-
#[cfg(feature = "std")]
22-
impl std::error::Error for TryFromIteratorError {}
21+
impl core::error::Error for TryFromIteratorError {}
2322

2423
impl<T, U> Array<T, U>
2524
where

0 commit comments

Comments
 (0)