forked from rust-bitcoin/rust-bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge rust-bitcoin/rust-secp256k1#456:
SerializedSignature
improvem…
…ents 0e0fa06 Simplify `Display` impl of `SerializedSignature` (Martin Habovstiak) 5d51b9d Added `MAX_LEN` constant to `serialized_signature` (Martin Habovstiak) e642a52 Add `#[inline]` to methods of `SerializedSignatre` (Martin Habovstiak) e92540b `impl IntoIterator for SerializedSignature` (Martin Habovstiak) 7f2d3d2 Move `SerializedSignature` into its own module (Martin Habovstiak) 901d5ff `impl<'a> IntoIterator for &'a SerializedSignature` (Martin Habovstiak) 1d2a1c3 Deduplicate `self.data[..self.len]` expressions (Martin Habovstiak) Pull request description: This * Deduplicates slicing operations * Implements `IntoIterator` (owned and borrowed) * Reorganizes the code for better clarity * Adds `#[inline]`s * Checks length set by libsep256k1 Closes rust-bitcoin#367 Closes rust-bitcoin#368 Individual commits are hopefully easier to review. ACKs for top commit: apoelstra: ACK 0e0fa06 Tree-SHA512: bbc759af767c8b84bfd6720456efc1e86da501aa193641dae3c99847a3c882f7d4aa7e5cbec074fdd9c2595f1f65e5fbb4c80620539a6357927149e5c2fbc734
- Loading branch information
Showing
2 changed files
with
269 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.