fix:missing raises pragma for one of RendezVous.new (#1222)

This commit is contained in:
NagyZoltanPeter 2024-11-08 11:11:51 +01:00 committed by GitHub
parent ed5670408b
commit 8855bce085
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -750,7 +750,7 @@ proc new*(
rng: ref HmacDrbgContext = newRng(), rng: ref HmacDrbgContext = newRng(),
minDuration = MinimumDuration, minDuration = MinimumDuration,
maxDuration = MaximumDuration, maxDuration = MaximumDuration,
): T = ): T {.raises: [RendezVousError].} =
let rdv = T.new(rng, minDuration, maxDuration) let rdv = T.new(rng, minDuration, maxDuration)
rdv.setup(switch) rdv.setup(switch)
return rdv return rdv