Skip to content

Commit ad22e1c

Browse files
authored
fix: links broke after a heading change (#4696)
1 parent 731899f commit ad22e1c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/topics/booleans.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ The `||` and `&&` operators work lazily, which means:
4040
* If the first operand is `true`, the `||` operator does not evaluate the second operand.
4141
* If the first operand is `false`, the `&&` operator does not evaluate the second operand.
4242

43-
> On the JVM, nullable references to boolean objects are boxed in Java classes, just like with [numbers](numbers.md#numbers-representation-on-the-jvm).
43+
> On the JVM, nullable references to boolean objects are boxed in Java classes, just like with [numbers](numbers.md#boxing-and-caching-numbers-on-the-java-virtual-machine).
4444
>
4545
{style="note"}

docs/topics/characters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ fun main() {
3636

3737
If a value of character variable is a digit, you can explicitly convert it to an `Int` number using the [`digitToInt()`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/digit-to-int.html) function.
3838

39-
> On the JVM, characters are boxed in Java classes when a nullable reference is needed, just like with [numbers](numbers.md#numbers-representation-on-the-jvm).
39+
> On the JVM, characters are boxed in Java classes when a nullable reference is needed, just like with [numbers](numbers.md#boxing-and-caching-numbers-on-the-java-virtual-machine).
4040
> Identity is not preserved by the boxing operation.
4141
>
4242
{style="note"}

docs/topics/inline-classes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ other classes and are always `final`.
100100

101101
In generated code, the Kotlin compiler keeps a *wrapper* for each inline class. Inline class instances can be represented
102102
at runtime either as wrappers or as the underlying type. This is similar to how `Int` can be
103-
[represented](numbers.md#numbers-representation-on-the-jvm) either as a primitive `int` or as the wrapper `Integer`.
103+
[represented](numbers.md#boxing-and-caching-numbers-on-the-java-virtual-machine) either as a primitive `int` or as the wrapper `Integer`.
104104

105105
The Kotlin compiler will prefer using underlying types instead of wrappers to produce the most performant and optimized code.
106106
However, sometimes it is necessary to keep wrappers around. As a rule of thumb, inline classes are boxed whenever they

0 commit comments

Comments
 (0)