Commit cb37bd4 1 parent df1077b commit cb37bd4 Copy full SHA for cb37bd4
File tree 3 files changed +4
-5
lines changed
mm2src/mm2_bitcoin/rpc/src
3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 1
- extern crate core;
2
1
#[ cfg( test) ] extern crate lazy_static;
3
2
extern crate log;
4
3
extern crate rustc_hex as hex;
Original file line number Diff line number Diff line change @@ -85,8 +85,8 @@ impl ops::Deref for Bytes {
85
85
fn deref ( & self ) -> & Self :: Target { & self . 0 }
86
86
}
87
87
88
- impl :: core :: fmt:: LowerHex for Bytes {
89
- fn fmt ( & self , f : & mut :: core :: fmt:: Formatter ) -> :: core :: fmt:: Result {
88
+ impl :: std :: fmt:: LowerHex for Bytes {
89
+ fn fmt ( & self , f : & mut :: std :: fmt:: Formatter ) -> :: std :: fmt:: Result {
90
90
for i in & self . 0 [ ..] {
91
91
write ! ( f, "{:02x}" , i) ?;
92
92
}
Original file line number Diff line number Diff line change @@ -147,8 +147,8 @@ macro_rules! impl_hash {
147
147
}
148
148
}
149
149
150
- impl :: core :: fmt:: LowerHex for $name {
151
- fn fmt( & self , f: & mut :: core :: fmt:: Formatter ) -> :: core :: fmt:: Result {
150
+ impl :: std :: fmt:: LowerHex for $name {
151
+ fn fmt( & self , f: & mut :: std :: fmt:: Formatter ) -> :: std :: fmt:: Result {
152
152
for i in & self . 0 [ ..] {
153
153
write!( f, "{:02x}" , i) ?;
154
154
}
You can’t perform that action at this time.
0 commit comments