aquatic_common: fix clippy warnings

This commit is contained in:
Joakim Frostegård 2024-01-20 10:37:15 +01:00
parent 746aa47cce
commit 2dd3ab8682
6 changed files with 23 additions and 23 deletions

View file

@ -46,6 +46,7 @@ pub fn create_rustls_config(
.next()
.ok_or(anyhow::anyhow!("No private keys in file"))??;
#[allow(clippy::let_and_return)] // Using temporary variable fixes lifetime issue
key
};