rust-bitcoin-unsafe-fast/bitcoin
Andrew Poelstra 1eb6e0c7d8
Merge rust-bitcoin/rust-bitcoin#2134: Add clippy exceptions for needless_question_mark lint
875545517d Add clippy exceptions for needless_question_mark lint (Steven Roose)

Pull request description:

  This lint forces you to write semantically different code that is in most cases inferior, just to save you 5 characters.

  The reason why the code is inferior is because it doesn't do error conversion so it would break when either of the two function signatures changes while in the original code using the `?` operator, nothing would break if the inner error can be converted into the outer error.

ACKs for top commit:
  apoelstra:
    ACK 875545517d
  tcharding:
    ACK 875545517d

Tree-SHA512: 8429e0fb7d759a3d19231e7bcaed61b0988172d931e758a9522d7c994854fd403408bb93b06778a5c09746cd38b6a96d3d2e0a862fb4516f2dbfffffe8735ce0
2023-10-24 01:17:32 +00:00
..
contrib hashes: Bump version to 0.13.0 2023-08-24 12:25:42 +10:00
embedded Add patch section to test crates 2023-07-18 10:27:48 +10:00
examples Use Message::from_digest 2023-10-11 08:16:25 +11:00
src Merge rust-bitcoin/rust-bitcoin#2134: Add clippy exceptions for needless_question_mark lint 2023-10-24 01:17:32 +00:00
tests Replace hex_script macro with a helper function 2023-10-20 10:20:23 +02:00
CHANGELOG.md Add changelog entries for v0.31.0 2023-10-18 13:46:42 +11:00
Cargo.toml Bump version to 0.31.0-rc2 2023-10-18 13:52:49 +11:00
build.rs Remove rust_v_1_46 2023-03-23 08:27:10 +11:00