Merge rust-bitcoin/rust-bitcoin#2867: Link to std::error::Error

c81e330e48 Link to std::error::Error (Tobin C. Harding)

Pull request description:

  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

ACKs for top commit:
  apoelstra:
    ACK c81e330e48

Tree-SHA512: 137fe62eb88359a6439ce5cddaf615704cc72a3df256e66d3730ce429c7b86973d62749c658796e95f9119443da0e286db78a41641b560a5667b076660c9b2b5
This commit is contained in:
Andrew Poelstra 2024-06-14 16:53:02 +00:00
commit 31f7565559
No known key found for this signature in database
GPG Key ID: C588D63CE41B97C1
1 changed files with 1 additions and 1 deletions

View File

@ -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