mirror of
https://github.com/Dummi26/mers.git
synced 2025-03-10 05:43:53 +01:00
changed true to [true] in match statement to remove [] from return types (although it's still there since println() returns [] - this litterally changes nothing, but it's good style)
This commit is contained in:
parent
8066487006
commit
8848552302
@ -15,5 +15,5 @@ text := "12.5"
|
||||
match {
|
||||
parse_int(text) num println("int: " + num.to_string())
|
||||
parse_float(text) num println("float: " + num.to_string())
|
||||
true [] println("not a number: " + text)
|
||||
[true] [] println("not a number: " + text)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user