Skip to content

Commit

Permalink
Use std::error::Error for compatibility with older toolchains
Browse files Browse the repository at this point in the history
  • Loading branch information
djc committed Nov 5, 2024
1 parent 5b86c44 commit f643527
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ impl core::fmt::Display for MaxRecursionReached {
}
}

impl core::error::Error for MaxRecursionReached {}
impl std::error::Error for MaxRecursionReached {}

/// Generate arbitrary structured values from raw, unstructured data.
///
Expand Down

0 comments on commit f643527

Please sign in to comment.