Skip to content

Commit 0211ffb

Browse files
committed
Merge rust-bitcoin#5128: primitives: fix doc comment for OutPointEncoder
46b4c7f primitives: fix doc comment for OutPointEncoder (sashass1315) Pull request description: Correct doc to reference OutPoint instead of TxOut for OutPointEncoder ACKs for top commit: apoelstra: ACK 46b4c7f; successfully ran local tests Tree-SHA512: 832ef2b27a8b4137488302364415a0c7819bcb44bc7e2f915308e14d15d30823245b2397b75d6cc888339e268a342d480c906314af14d3d5ef23ec1f98cf5de1
2 parents 966f5b8 + 46b4c7f commit 0211ffb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

primitives/src/transaction.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1108,7 +1108,7 @@ impl OutPoint {
11081108
}
11091109

11101110
encoding::encoder_newtype! {
1111-
/// The encoder for the [`TxOut`] type.
1111+
/// The encoder for the [`OutPoint`] type.
11121112
pub struct OutPointEncoder<'e>(Encoder2<BytesEncoder<'e>, ArrayEncoder<4>>);
11131113
}
11141114

0 commit comments

Comments
 (0)