File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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.
7979fn encode_using_wrapper ( ) {
8080 use pretend_this_is_some_other_crate:: WriteCounter ;
8181
You can’t perform that action at this time.
0 commit comments