This commit is contained in:
Scott Richmond 2024-07-14 14:18:10 -04:00
parent 2f03bbb12f
commit 9e50f0cbdf

View File

@ -388,7 +388,7 @@ fn downcase {
fn chars {
"Takes a string and returns its characters as a list. Works only for strings with only ascii characters. Panics on any non-ascii characters."
(str as :string) -> match base :chars (str) {
(str as :string) -> match base :chars (str) with {
(:ok, chrs) -> chrs
(:err, msg) -> panic! msg
}