From 16a920d87cb2891eec0680948dc6b457825f0ddf Mon Sep 17 00:00:00 2001 From: Yorick Peterse Date: Tue, 21 Jan 2025 22:37:25 +0100 Subject: [PATCH] Make std.json.Number a copy type This doesn't have a visible impact but better captures the purpose of the type. --- std/src/std/json.inko | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/std/src/std/json.inko b/std/src/std/json.inko index e6b1b30f..a806014d 100644 --- a/std/src/std/json.inko +++ b/std/src/std/json.inko @@ -550,7 +550,7 @@ impl Equal[ref Json] for Json { } # A numeric value that's either an `Int` or a `Float`. -type pub inline enum Number { +type pub copy enum Number { case Int(Int) case Float(Float) }