summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSebastian Holmin <sebastian.holmin@mullvad.net>2025-01-09 15:30:22 +0100
committerSebastian Holmin <sebastian.holmin@mullvad.net>2025-01-09 15:30:22 +0100
commit60f2ef6bf1ff3a918e80029e7580bbb44bd97da5 (patch)
tree8fe72301d7d0758ac670814e0fba0ade7c4330d8
parent38046e07cf4b97739d86fbd50d19de095fff11f7 (diff)
downloadmullvadvpn-60f2ef6bf1ff3a918e80029e7580bbb44bd97da5.tar.xz
mullvadvpn-60f2ef6bf1ff3a918e80029e7580bbb44bd97da5.zip
Remove unnecessary pub
-rw-r--r--talpid-tunnel-config-client/src/classic_mceliece.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/talpid-tunnel-config-client/src/classic_mceliece.rs b/talpid-tunnel-config-client/src/classic_mceliece.rs
index 363fbec82b..7484313906 100644
--- a/talpid-tunnel-config-client/src/classic_mceliece.rs
+++ b/talpid-tunnel-config-client/src/classic_mceliece.rs
@@ -32,7 +32,7 @@ static KEYPAIR_RX: OnceLock<Mutex<mpsc::Receiver<KeyPair>>> = OnceLock::new();
/// # Panic
///
/// Panics if the buffer capacity is 0.
-pub fn spawn_keypair_worker(bufsize: usize) -> mpsc::Receiver<KeyPair> {
+fn spawn_keypair_worker(bufsize: usize) -> mpsc::Receiver<KeyPair> {
let (tx, rx) = mpsc::channel(bufsize);
// We fork off the key computation to a separate thread for two reasons: