tokio-rustls/tokio-native-tls/tests
Eliza Weisman db01bce007
fix a handful of lints, one of which was breaking the build (#65)
* native-tls: fix use of non-fmt panic in tests
* fix some misc. clippy lints

This branch fixes a number of lints. The most important one was the use
of a non-`format_args!` expression in a `panic!` macro, which generates
a compiler warning in recent Rust toolchains, which is breaking the CI
`cargo check` run on PR #64.

While I was here, I also fixed some miscellaneous Clippy lints, mostly
in tests. These include:

* Use of `clone()` on `SocketAddr`s (which implement `Copy`)
* Unnecessary single-path-segment imports (which probably used to be
  `extern crate`s in earlier Rust?)
* `'static` lifetimes in `const` type annotations (`const`s always have
  the `'static` lifetime)

None of these were breaking the build on CI, but I figured I'd address
them while I was fixing other lints.

Signed-off-by: Eliza Weisman <eliza@buoyant.io>
2021-06-29 15:45:21 -07:00
..
bad.rs fix a handful of lints, one of which was breaking the build (#65) 2021-06-29 15:45:21 -07:00
cert.der Rename more tests (#1) 2020-02-27 18:32:52 -05:00
google.rs fix a handful of lints, one of which was breaking the build (#65) 2021-06-29 15:45:21 -07:00
identity.p12 Rename more tests (#1) 2020-02-27 18:32:52 -05:00
root-ca.der Rename more tests (#1) 2020-02-27 18:32:52 -05:00
smoke.rs fix a handful of lints, one of which was breaking the build (#65) 2021-06-29 15:45:21 -07:00