Merge rust-bitcoin/rust-secp256k1#666: Remove unnecessary code comment
458712212d
Improve code comments (Tobin C. Harding) Pull request description: These comments say what the code is doing, they add no value. ACKs for top commit: Kixunil: ACK458712212d
apoelstra: ACK458712212d
Tree-SHA512: 0f31d36d7dfbde5bf32d622c3ba1845d5c6989c3eff0e520b77eeee595453299551172331851176e50aef4f78eacb7033c0ff798077e44e1c63313013b073f0b
This commit is contained in:
commit
4244fec9ad
|
@ -272,10 +272,8 @@ mod tests {
|
||||||
#[test]
|
#[test]
|
||||||
fn iterator_ops_are_homomorphic() {
|
fn iterator_ops_are_homomorphic() {
|
||||||
let mut fake_signature_data = [0; MAX_LEN];
|
let mut fake_signature_data = [0; MAX_LEN];
|
||||||
// fill it with numbers 0 - 71
|
|
||||||
for (i, byte) in fake_signature_data.iter_mut().enumerate() {
|
for (i, byte) in fake_signature_data.iter_mut().enumerate() {
|
||||||
// up to MAX_LEN
|
*byte = i as u8; // cast ok because MAX_LEN fits in u8.
|
||||||
*byte = i as u8;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
let fake_signature = SerializedSignature { data: fake_signature_data, len: MAX_LEN };
|
let fake_signature = SerializedSignature { data: fake_signature_data, len: MAX_LEN };
|
||||||
|
|
Loading…
Reference in New Issue