From c81e330e48ddb2999b3fc37608730c33ef16145a Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Fri, 14 Jun 2024 13:59:10 +1000 Subject: [PATCH] Link to std::error::Error In #2521 I removed the link from `std::error::Error` with the claim that it broke no-std builds. However there are a ton of other places where we link to `std::` types. I have no idea where the breakage was, I assume it existed and I was sane at the time, CI on this patch will tell us. Close: #2571 --- internals/src/error/parse_error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internals/src/error/parse_error.rs b/internals/src/error/parse_error.rs index 2b0325050..1c7e78256 100644 --- a/internals/src/error/parse_error.rs +++ b/internals/src/error/parse_error.rs @@ -6,7 +6,7 @@ /// [`InputString`](super::InputString), the type of `source` is specified as the second argument /// to the macro. /// -/// The resulting type is public, conditionally implements `std::error::Error` and has a private +/// The resulting type is public, conditionally implements [`std::error::Error`] and has a private /// `new()` method for convenience. /// /// # Parameters