File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -299,8 +299,7 @@ impl NetworkAddressTranslator {
299
299
to. set_destination_addr ( & format ! ( "{dst_ip}:{dst_port}" ) ) ?;
300
300
} else {
301
301
return Err ( Error :: Other ( format ! (
302
- "drop {} as {:?}" ,
303
- from,
302
+ "drop {from} as {:?}" ,
304
303
Error :: ErrNoAssociatedLocalAddress
305
304
) ) ) ;
306
305
}
Original file line number Diff line number Diff line change @@ -55,6 +55,9 @@ pem = { version = "1", optional = true }
55
55
# https://github.com/est31/rcgen/pull/88
56
56
# Version 0.3.14 requires Rust 1.59.0 which we don't currently support
57
57
time = " ~0.3.1"
58
+ # fixes "error: cannot find macro `__cfg_if_items` in this scope"
59
+ # https://github.com/rust-lang/packed_simd/commit/127a0fc233dbab880e33aeaccdd23e799a8b798b
60
+ cfg-if = " 0.1.6"
58
61
59
62
[dev-dependencies ]
60
63
tokio-test = " 0.4.0" # must match the min version of the `tokio` crate above
You can’t perform that action at this time.
0 commit comments