mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
Clippy
This commit is contained in:
parent
25b355eb38
commit
aa8b6e3393
1 changed files with 2 additions and 2 deletions
|
@ -517,7 +517,7 @@ pub fn types() -> MutMap<Symbol, (SolvedType, Region)> {
|
||||||
add_top_level_function_type!(
|
add_top_level_function_type!(
|
||||||
Symbol::NUM_TO_I128_CHECKED,
|
Symbol::NUM_TO_I128_CHECKED,
|
||||||
vec![int_type(flex(TVAR1))],
|
vec![int_type(flex(TVAR1))],
|
||||||
Box::new(result_type(i128_type(), out_of_bounds.clone())),
|
Box::new(result_type(i128_type(), out_of_bounds)),
|
||||||
);
|
);
|
||||||
|
|
||||||
// toU8 : Int * -> U8
|
// toU8 : Int * -> U8
|
||||||
|
@ -592,7 +592,7 @@ pub fn types() -> MutMap<Symbol, (SolvedType, Region)> {
|
||||||
add_top_level_function_type!(
|
add_top_level_function_type!(
|
||||||
Symbol::NUM_TO_U128_CHECKED,
|
Symbol::NUM_TO_U128_CHECKED,
|
||||||
vec![int_type(flex(TVAR1))],
|
vec![int_type(flex(TVAR1))],
|
||||||
Box::new(result_type(u128_type(), out_of_bounds.clone())),
|
Box::new(result_type(u128_type(), out_of_bounds)),
|
||||||
);
|
);
|
||||||
|
|
||||||
// toStr : Num a -> Str
|
// toStr : Num a -> Str
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue