diff --git a/quinn/examples/server.rs b/quinn/examples/server.rs index a2ce0dc0f..01f2db48e 100644 --- a/quinn/examples/server.rs +++ b/quinn/examples/server.rs @@ -60,7 +60,6 @@ fn main() { } #[tokio::main] -#[allow(clippy::field_reassign_with_default)] // https://github.com/rust-lang/rust-clippy/issues/6527 async fn run(options: Opt) -> Result<()> { let (certs, key) = if let (Some(key_path), Some(cert_path)) = (&options.key, &options.cert) { let key = fs::read(key_path).context("failed to read private key")?;