Skip to content

Commit

Permalink
fix: higher-order function term typo (#3795)
Browse files Browse the repository at this point in the history
* fix typo
  • Loading branch information
imknown authored and danil-pavlov committed Oct 17, 2023
1 parent 887b578 commit 83e1f2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/topics/lambdas.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[//]: # (title: High-order functions and lambdas)
[//]: # (title: Higher-order functions and lambdas)

Kotlin functions are [first-class](https://en.wikipedia.org/wiki/First-class_function), which means they can
be stored in variables and data structures, and can be passed as arguments to and returned from other
Expand Down
2 changes: 1 addition & 1 deletion docs/topics/whatsnew13.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ fun foo(s: String?) {
}
```

* Improving the variable initialization analysis in the presence of high-order functions:
* Improving the variable initialization analysis in the presence of higher-order functions:

```kotlin
fun synchronize(lock: Any?, block: () -> Unit) {
Expand Down

0 comments on commit 83e1f2b

Please sign in to comment.