Skip to content

Commit f643527

Browse files
committed
Use std::error::Error for compatibility with older toolchains
1 parent 5b86c44 commit f643527

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ impl core::fmt::Display for MaxRecursionReached {
4949
}
5050
}
5151

52-
impl core::error::Error for MaxRecursionReached {}
52+
impl std::error::Error for MaxRecursionReached {}
5353

5454
/// Generate arbitrary structured values from raw, unstructured data.
5555
///

0 commit comments

Comments
 (0)