Apply 1 suggestion(s) to 1 file(s)

This commit is contained in:
Ian Jackson 2022-09-22 16:25:08 +00:00 committed by trinity-1686a
parent 8e7a904260
commit 10d3fd9e9f
1 changed files with 1 additions and 1 deletions

View File

@ -530,7 +530,7 @@ mod test {
let sa4: SocketAddrV4 = "203.0.133.8:81".parse().unwrap();
let sa6: SocketAddrV6 = "[2001:db8::43]:82".parse().unwrap();
// TODO do we want to keep that bit of test, or should we remove it?
// This tests impl DangerouslyIntoTorAddr for &T
#[allow(clippy::needless_borrow)]
check(&(ip, 443), "203.0.133.6:443");
check((ip, 443), "203.0.133.6:443");