mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-01 18:25:30 +00:00
aquatic_common: fix clippy warnings
This commit is contained in:
parent
746aa47cce
commit
2dd3ab8682
6 changed files with 23 additions and 23 deletions
|
|
@ -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
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue