From 2ff50ccd2c76ec8abda9e3bfc892c2a5cf64fe14 Mon Sep 17 00:00:00 2001 From: Tentacles <77739665+tentacleuno@users.noreply.github.com> Date: Thu, 4 Feb 2021 18:25:10 +0000 Subject: Update kotlin.html.markdown --- kotlin.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kotlin.html.markdown') diff --git a/kotlin.html.markdown b/kotlin.html.markdown index 9394cc02..12008074 100644 --- a/kotlin.html.markdown +++ b/kotlin.html.markdown @@ -426,7 +426,7 @@ data class Counter(var value: Int) { operator fun invoke() = println("The value of the counter is $value") } -/* You can also overload operators through an extension methods */ +/* You can also overload operators through extension methods */ // overload -Counter operator fun Counter.unaryMinus() = Counter(-this.value) -- cgit v1.2.3