Skip to content

Commit

Permalink
fix: wrong period position inside inline code
Browse files Browse the repository at this point in the history
  • Loading branch information
wxh06 authored and sarahhaggarty committed Nov 25, 2024
1 parent edcc2b1 commit fd53d15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/topics/tour/kotlin-tour-control-flow.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ The most common way to create a range in Kotlin is to use the `..` operator. For

To declare a range that doesn't include the end value, use the `..<` operator. For example, `1..<4` is equivalent to `1, 2, 3`.

To declare a range in reverse order, use `downTo.` For example, `4 downTo 1` is equivalent to `4, 3, 2, 1`.
To declare a range in reverse order, use `downTo`. For example, `4 downTo 1` is equivalent to `4, 3, 2, 1`.

To declare a range that increments in a step that isn't 1, use `step` and your desired increment value.
For example, `1..5 step 2` is equivalent to `1, 3, 5`.
Expand Down

0 comments on commit fd53d15

Please sign in to comment.