Skip to content

Commit f921089

Browse files
committed
feat: impl core::error::Error for crate::Error
1 parent 4928123 commit f921089

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
rust: [stable, beta, nightly, 1.80.0] # stable, beta, nightly, and MSRV
19+
rust: [stable, beta, nightly, 1.81.0] # stable, beta, nightly, and MSRV
2020
mode: ["", "--release"]
2121
steps:
2222
- name: checkout code

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ repository = "https://github.com/AMDEPYC/devpath"
88
readme = "README.md"
99
keywords = ["uefi", "device-path", "firmware", "boot", "efi"]
1010
categories = ["embedded", "hardware-support", "parsing"]
11-
rust-version = "1.80"
11+
rust-version = "1.81"

src/error.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ impl From<Invalid> for Error {
2020
}
2121
}
2222

23+
impl core::error::Error for Error {}
2324
impl core::fmt::Display for Error {
2425
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
2526
match self {

0 commit comments

Comments
 (0)