Skip to content

Commit b546e95

Browse files
committed
chore: fix contracts bullets in whatsnew2220.md
1 parent f123a16 commit b546e95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/topics/whatsnew/whatsnew2220.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,8 @@ Kotlin 2.2.20 introduces several improvements to [Kotlin contracts](https://kotl
225225

226226
* [Support for generics in contract type assertions](#support-for-generics-in-contract-type-assertions).
227227
* [Support for contracts inside property accessors and specific operator functions](#support-for-contracts-inside-property-accessors-and-specific-operator-functions).
228-
* [Support for the `returnsNotNull()` function in contracts](#support-for-the-returnsnotnull-function-in-contracts), allowing you to assume conditions are true when passed inside lambdas.
229-
* [New `holdsIn` keyword](#new-holdsin-keyword) as a way to ensure a non-null return value when a condition is met.
228+
* [Support for the `returnsNotNull()` function in contracts](#support-for-the-returnsnotnull-function-in-contracts) as a way to ensure a non-null return value when a condition is met.
229+
* [New `holdsIn` keyword](#new-holdsin-keyword), allowing you to assume conditions are true when passed inside lambdas.
230230

231231
These improvements are [Experimental](components-stability.md#stability-levels-explained). To opt in, you still need to
232232
use the `@OptIn(ExperimentalContracts::class)` annotation when declaring contracts. The `holdsIn` keyword and the `returnsNotNull()`

0 commit comments

Comments
 (0)