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 {
299299 to. set_destination_addr ( & format ! ( "{dst_ip}:{dst_port}" ) ) ?;
300300 } else {
301301 return Err ( Error :: Other ( format ! (
302- "drop {} as {:?}" ,
303- from,
302+ "drop {from} as {:?}" ,
304303 Error :: ErrNoAssociatedLocalAddress
305304 ) ) ) ;
306305 }
Original file line number Diff line number Diff line change @@ -55,6 +55,9 @@ pem = { version = "1", optional = true }
5555# https://github.com/est31/rcgen/pull/88
5656# Version 0.3.14 requires Rust 1.59.0 which we don't currently support
5757time = " ~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"
5861
5962[dev-dependencies ]
6063tokio-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