mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
consistent result type signatures
This commit is contained in:
parent
d6ab0b6aa4
commit
58f3559c98
2 changed files with 12 additions and 16 deletions
|
@ -1324,7 +1324,7 @@ fn str_trim_right(symbol: Symbol, var_store: &mut VarStore) -> Def {
|
|||
lowlevel_1(symbol, LowLevel::StrTrimRight, var_store)
|
||||
}
|
||||
|
||||
/// Str.toNum : Str -> Result (Num a) {}
|
||||
/// Str.toNum : Str -> Result (Num *) [ InvalidNumStr ]*
|
||||
fn str_to_num(symbol: Symbol, var_store: &mut VarStore) -> Def {
|
||||
lowlevel_1(symbol, LowLevel::StrToNum, var_store)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue