From dde2b306011e94db90de7c6a3bf25488a6161315 Mon Sep 17 00:00:00 2001 From: Ilya Gorbunov Date: Wed, 3 Apr 2019 03:32:29 +0300 Subject: [PATCH] Clarify wording in Random.nextUInt docs: missed extra 'not' --- libraries/stdlib/src/kotlin/random/URandom.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/stdlib/src/kotlin/random/URandom.kt b/libraries/stdlib/src/kotlin/random/URandom.kt index 35aec96eeeb..b211cf0e2fa 100644 --- a/libraries/stdlib/src/kotlin/random/URandom.kt +++ b/libraries/stdlib/src/kotlin/random/URandom.kt @@ -16,7 +16,7 @@ package kotlin.random public fun Random.nextUInt(): UInt = nextInt().toUInt() /** - * Gets the next random [UInt] from the random number generator not less the specified [until] bound. + * Gets the next random [UInt] from the random number generator less than the specified [until] bound. * * Generates a [UInt] random value uniformly distributed between `0` (inclusive) and the specified [until] bound (exclusive). *