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 committed Sep 26, 2024
1 parent 899156c commit de98aa1
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 de98aa1

Please sign in to comment.