Skip to content

Commit c991e92

Browse files
committed
Merge rust-bitcoin#4957: chore: fix minor typos
72af640 chore: fix minor typos (Fibonacci747) Pull request description: A byte counter - counts how many bytes where written to it. -> A byte counter - counts how many bytes were written to it. (x2) ACKs for top commit: apoelstra: ACK 72af640; successfully ran local tests Tree-SHA512: cb203713780cf28a180d268dcfe4ca5a092e64e1b0e37b794c1bf1f898eeac7bb6c007d2816ea0abd71c99855c3344e77a75af33e24432d1bea88475a990cdcf
2 parents c2cce97 + 72af640 commit c991e92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bitcoin/examples/io.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ fn encode_decode_from_stdlib_type() {
4646
///
4747
/// To use the `Encodable` (and `Decodable`) traits you can implement the `bitcoin_io` traits.
4848
fn encode_to_custom_type() {
49-
/// A byte counter - counts how many bytes where written to it.
49+
/// A byte counter - counts how many bytes were written to it.
5050
struct WriteCounter {
5151
count: usize,
5252
}
@@ -96,7 +96,7 @@ fn encode_using_wrapper() {
9696
}
9797

9898
mod pretend_this_is_some_other_crate {
99-
/// A byte counter - counts how many bytes where written to it.
99+
/// A byte counter - counts how many bytes were written to it.
100100
pub struct WriteCounter {
101101
count: usize,
102102
}

0 commit comments

Comments
 (0)