Merge rust-bitcoin/rust-bitcoin#2521: Remove link to std from rustdoc

e49a3c0bfe Remove link to std from rustdoc (Tobin C. Harding)

Pull request description:

  We can't link to `std::error::Error` in rustdoc because it breaks non-std builds. Just use backticks - this is not an optimal solution but I know no other.

  I have no clue why this is showing up now.

ACKs for top commit:
  apoelstra:
    ACK e49a3c0bfe
  sanket1729:
    ACK e49a3c0bfe

Tree-SHA512: 96c540aec59b1db7ad9b185d4ebf4e431dc2a4c9599e2e241b1948ca47995ffe88bf753bb63b01a35c9f82783231744bf8a2bdb89bfb95fbd9324172c4f9c608
This commit is contained in:
Andrew Poelstra 2024-03-08 23:54:55 +00:00
commit 4de3a64727
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 /// [`InputString`](super::InputString), the type of `source` is specified as the second argument
/// to the macro. /// 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. /// `new()` method for convenience.
/// ///
/// ## Parameters /// ## Parameters