consistent result type signatures

This commit is contained in:
Anton-4 2021-12-02 17:49:04 +01:00
parent d6ab0b6aa4
commit 58f3559c98
2 changed files with 12 additions and 16 deletions

View file

@ -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)
}