fixed cond default

The do a cond default you have to use `true ->` instead of `_ ->`
This commit is contained in:
M. Peter 2018-02-09 14:28:32 +01:00 committed by GitHub
parent d6365a8ef9
commit b0a536e9e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ cond do
"I will never be seen" "I will never be seen"
2 * 5 == 12 -> 2 * 5 == 12 ->
"Me neither" "Me neither"
_ -> true ->
"But I will (this is essentially an else)" "But I will (this is essentially an else)"
end end
``` ```