diff --git a/talpid-tunnel-config-client/src/classic_mceliece.rs b/talpid-tunnel-config-client/src/classic_mceliece.rs index 93de357cdd00..fbe69149cf04 100644 --- a/talpid-tunnel-config-client/src/classic_mceliece.rs +++ b/talpid-tunnel-config-client/src/classic_mceliece.rs @@ -26,6 +26,10 @@ static KEYPAIR_RX: OnceLock>> = OnceLock::new(); /// /// It can take upwards of 200 ms to generate McEliece key pairs so it needs to be done before we /// start connecting to the tunnel. +/// +/// # Panic +/// +/// Panics if the buffer capacity is 0. pub fn spawn_keypair_worker(bufsize: usize) -> mpsc::Receiver { let (tx, rx) = mpsc::channel(bufsize);