Skip to content

Commit 72af640

Browse files
authored
chore: fix minor typos
1 parent 9c57966 commit 72af640

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)