From 0d366990f15fcc481e36d485c4fc9de53daa5340 Mon Sep 17 00:00:00 2001 From: StygianLightning Date: Tue, 6 Dec 2022 23:35:53 +0100 Subject: [PATCH] Removed an obsolete lint control annotation. The lint issue that made the workaround necessary has been resolved. --- quinn/examples/server.rs | 1 - 1 file changed, 1 deletion(-) 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")?;