Skip to content

Commit 60ee4ca

Browse files
authored
chore: fix path to the wrapper
1 parent 39afe9f commit 60ee4ca

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
@@ -17,7 +17,7 @@ fn main() {
1717
// Encode to a custom type by implementing `bitcoin_io` traits.
1818
encode_to_custom_type();
1919

20-
// Encode to a foreign custom type by using the `bitcoin_io::bridge::FromStd` wrapper.
20+
// Encode to a foreign custom type by using the `bitcoin_io::FromStd` wrapper.
2121
encode_using_wrapper();
2222
}
2323

@@ -75,7 +75,7 @@ fn encode_to_custom_type() {
7575
/// Encodes to a custom type by using the `bitcoin_io::bridge` module.
7676
///
7777
/// If you have a type that you don't control that implements `std::io::Write` you can still encode
78-
/// to it by way of the `io::bridge::FromStd` wrapper.
78+
/// to it by way of the `io::FromStd` wrapper.
7979
fn encode_using_wrapper() {
8080
use pretend_this_is_some_other_crate::WriteCounter;
8181

0 commit comments

Comments
 (0)