Skip to content

Commit

Permalink
chore: adding data in code line
Browse files Browse the repository at this point in the history
Co-authored-by: Alejandro Serrano <[email protected]>
  • Loading branch information
AlejandraPedroza and serras authored Sep 24, 2024
1 parent 9fbb260 commit 10f5620
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/topics/control-flow.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ To include a guard condition in a branch, place the guard condition after the pr

```kotlin
sealed interface Animal {
class Cat(val mouseHunter: Boolean) : Animal
data class Cat(val mouseHunter: Boolean) : Animal
data class Dog(val breed: String) : Animal
}

Expand Down

0 comments on commit 10f5620

Please sign in to comment.