Skip to content

Commit aa5f8d8

Browse files
committed
fix: anchor
1 parent 397049f commit aa5f8d8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/topics/jvm/comparison-to-java.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Kotlin fixes a series of issues that Java suffers from:
4545
* [Data classes](data-classes.md)
4646
* [Coroutines](coroutines-overview.md)
4747
* [Top-level functions](functions.md)
48-
* [Parameters with default values](functions.md#parameters-with-default-values)
48+
* [Parameters with default values](functions.md#parameters-with-default-values-optional-parameters)
4949
* [Named parameters](functions.md#named-arguments)
5050
* [Infix functions](functions.md#infix-notation)
5151
* [Expect and actual declarations](https://kotlinlang.org/docs/multiplatform/multiplatform-expect-actual.html)

docs/topics/jvm/java-to-kotlin-nullability-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ findOrder()?.customer?.let(::processCustomer)
218218

219219
## Default values instead of null
220220

221-
Checking for `null` is often used in combination with [setting the default value](functions.md#parameters-with-default-values)
221+
Checking for `null` is often used in combination with [setting the default value](functions.md#parameters-with-default-values-optional-parameters)
222222
in case the null check is successful.
223223

224224
The Java code with a null check:

docs/topics/keyword-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ Kotlin supports the following operators and special symbols:
135135
- `*` is also used to [pass an array to a vararg parameter](functions.md#variable-number-of-arguments-varargs).
136136
* `=`
137137
- assignment operator.
138-
- is used to specify [default values for parameters](functions.md#parameters-with-default-values).
138+
- is used to specify [default values for parameters](functions.md#parameters-with-default-values-optional-parameters).
139139
* `+=`, `-=`, `*=`, `/=`, `%=` - [augmented assignment operators](operator-overloading.md#augmented-assignments).
140140
* `++`, `--` - [increment and decrement operators](operator-overloading.md#increments-and-decrements).
141141
* `&&`, `||`, `!` - logical 'and', 'or', 'not' operators (for bitwise operations, use the corresponding [infix functions](numbers.md#operations-on-numbers) instead).

0 commit comments

Comments
 (0)