mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
Fix Str.startsWith std definition
This commit is contained in:
parent
385d0fda9f
commit
b615b0127c
1 changed files with 1 additions and 1 deletions
|
@ -414,7 +414,7 @@ pub fn types() -> MutMap<Symbol, (SolvedType, Region)> {
|
|||
// startsWith : Str, Str -> Bool
|
||||
add_type(
|
||||
Symbol::STR_STARTS_WITH,
|
||||
SolvedType::Func(vec![str_type(), str_type()], Box::new(bool_type())),
|
||||
top_level_function(vec![str_type(), str_type()], Box::new(bool_type())),
|
||||
);
|
||||
|
||||
// countGraphemes : Str -> Int
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue