From 98cfa0315e7bfc9736ff50fb965730b2a36d1a32 Mon Sep 17 00:00:00 2001 From: Leonid Startsev Date: Tue, 11 Jul 2023 13:21:15 +0200 Subject: [PATCH] Use 'number' instead of 'amount' because 'times' is a countable noun. (#5145) --- libraries/stdlib/src/kotlin/contracts/ContractBuilder.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/stdlib/src/kotlin/contracts/ContractBuilder.kt b/libraries/stdlib/src/kotlin/contracts/ContractBuilder.kt index ffa321ab3ce..2fa8af17e00 100644 --- a/libraries/stdlib/src/kotlin/contracts/ContractBuilder.kt +++ b/libraries/stdlib/src/kotlin/contracts/ContractBuilder.kt @@ -71,7 +71,7 @@ public interface ContractBuilder { * This contract specifies that: * 1. the function [lambda] can only be invoked during the call of the owner function, * and it won't be invoked after that owner function call is completed; - * 2. _(optionally)_ the function [lambda] is invoked the amount of times specified by the [kind] parameter, + * 2. _(optionally)_ the function [lambda] is invoked the number of times specified by the [kind] parameter, * see the [InvocationKind] enum for possible values. * * A function declaring the `callsInPlace` effect must be _inline_.