summaryrefslogtreecommitdiffhomepage
path: root/talpid-tunnel-config-client
diff options
context:
space:
mode:
authorDavid Lönnhager <david.l@mullvad.net>2023-04-24 16:26:38 +0200
committerDavid Lönnhager <david.l@mullvad.net>2023-04-26 11:02:59 +0200
commit45d3c24a44aea918c93bae7dabf5b69a9ddacb3a (patch)
tree2f27f582430e8e252e553857cc74eecdab42d8b4 /talpid-tunnel-config-client
parente1be481046f4086330135d831f39387883b2f453 (diff)
downloadmullvadvpn-45d3c24a44aea918c93bae7dabf5b69a9ddacb3a.tar.xz
mullvadvpn-45d3c24a44aea918c93bae7dabf5b69a9ddacb3a.zip
Fix remaining clippy warnings
Diffstat (limited to 'talpid-tunnel-config-client')
-rw-r--r--talpid-tunnel-config-client/src/kyber.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/talpid-tunnel-config-client/src/kyber.rs b/talpid-tunnel-config-client/src/kyber.rs
index 0946e7f5c2..5654b2e10b 100644
--- a/talpid-tunnel-config-client/src/kyber.rs
+++ b/talpid-tunnel-config-client/src/kyber.rs
@@ -6,7 +6,8 @@ pub use pqc_kyber::{keypair, KyberError};
/// benefit of going with anything lower.
pub const ALGORITHM_NAME: &str = "Kyber1024";
-// Always inline in order to try to avoid potential copies of `shared_secret` to multiple places on the stack.
+// Always inline in order to try to avoid potential copies of `shared_secret` to multiple places on
+// the stack.
#[inline(always)]
pub fn decapsulate(
secret_key: SecretKey,