Skip to content

Commit 17fed89

Browse files
committed
Use unit args for Locale functions
1 parent 6ed4a11 commit 17fed89

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

platform/Locale.roc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ Locale := [].{
22
## Returns the most preferred locale for the system or application.
33
##
44
## The returned [Str] is a BCP 47 language tag, like `en-US` or `fr-CA`.
5-
get! : {} => Str
5+
get! : () => Str
66

77
## Returns the preferred locales for the system or application.
88
##
99
## The returned [Str] are BCP 47 language tags, like `en-US` or `fr-CA`.
10-
all! : {} => List(Str)
10+
all! : () => List(Str)
1111
}

0 commit comments

Comments
 (0)