rust-bitcoin-unsafe-fast/bitcoin/src
merge-script bee044fbb9
Merge rust-bitcoin/rust-bitcoin#3137: De-sugar `self`
34e8212594 Replace &self with self: &Self (Tobin C. Harding)

Pull request description:

  `foo(&self)` is syntax sugar for `foo(self: &Self)`.

  The `define_extension_trait` is currently large, ugly, and not that expressive. If we use `self: &Self` then the macro is greatly simplified.

  (Also consuming version `self: Self`)

  De-sugar only, no logic changes.

ACKs for top commit:
  apoelstra:
    ACK 34e8212594 successfully ran local tests; lol this looks so much better
  Kixunil:
    ACK 34e8212594

Tree-SHA512: 7ec81bee99ede328d73a661c9e683a774ba14404ceb89ecb06765bedddf04dc9721672775b9ad3a9e3356d510c76681848f24ce4392a59d53216d23e6a27d9ad
2024-08-08 19:55:07 +00:00
..
address Replace &self with self: &Self 2024-08-08 09:17:47 +10:00
blockdata Merge rust-bitcoin/rust-bitcoin#2929: Introduce `ToU64` trait 2024-08-08 19:05:23 +00:00
consensus Merge rust-bitcoin/rust-bitcoin#2929: Introduce `ToU64` trait 2024-08-08 19:05:23 +00:00
crypto Merge rust-bitcoin/rust-bitcoin#3100: Bump MSRV to 1.63 2024-07-28 21:11:28 +00:00
merkle_tree Introduce ToU64 conversion trait 2024-08-08 15:32:40 +10:00
network Bump MSRV to 1.63 2024-07-27 07:24:32 +02:00
p2p Introduce ToU64 conversion trait 2024-08-08 15:32:40 +10:00
psbt Introduce ToU64 conversion trait 2024-08-08 15:32:40 +10:00
taproot Bump MSRV to 1.63 2024-07-27 07:24:32 +02:00
bip32.rs Merge rust-bitcoin/rust-bitcoin#2889: Move `serde_round_trip` macro to internals 2024-07-08 20:50:23 +00:00
bip152.rs Introduce ToU64 conversion trait 2024-08-08 15:32:40 +10:00
bip158.rs Introduce ToU64 conversion trait 2024-08-08 15:32:40 +10:00
consensus_validation.rs Replace &self with self: &Self 2024-08-08 09:17:47 +10:00
hash_types.rs bitcoin: remove all direct use of hashing/engines in unit tests 2024-06-24 13:58:03 +00:00
internal_macros.rs Merge rust-bitcoin/rust-bitcoin#3137: De-sugar `self` 2024-08-08 19:55:07 +00:00
lib.rs Remove build cfg for versions less than MSRV 2024-08-08 12:03:06 +10:00
policy.rs Remove usage of blockdata from paths 2024-06-20 12:00:22 +10:00
pow.rs Bump MSRV to 1.63 2024-07-27 07:24:32 +02:00
serde_utils.rs Bump MSRV to 1.63 2024-07-27 07:24:32 +02:00
sign_message.rs Remove wildcard from prelude import 2024-06-28 08:02:43 +01:00