diff --git a/docs/topics/control-flow.md b/docs/topics/control-flow.md index 6050aab1993..a18d9b3481c 100644 --- a/docs/topics/control-flow.md +++ b/docs/topics/control-flow.md @@ -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 }