mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 00:01:16 +00:00
fix clippy issues
This commit is contained in:
parent
40bf9be1e2
commit
9e981c264e
7 changed files with 12 additions and 40 deletions
|
@ -2,7 +2,7 @@ use crate::std::StdLib;
|
|||
use roc_collections::all::{default_hasher, MutMap};
|
||||
use roc_module::ident::TagName;
|
||||
use roc_module::symbol::Symbol;
|
||||
use roc_region::all::{Located, Region};
|
||||
use roc_region::all::Region;
|
||||
use roc_types::builtin_aliases;
|
||||
use roc_types::solved_types::{SolvedBool, SolvedType};
|
||||
use roc_types::subs::VarId;
|
||||
|
@ -1135,14 +1135,6 @@ fn num_type(u: VarId, a: VarId) -> SolvedType {
|
|||
)
|
||||
}
|
||||
|
||||
#[inline(always)]
|
||||
fn num_type_help(u: VarId, a: SolvedType) -> SolvedType {
|
||||
SolvedType::Apply(
|
||||
Symbol::ATTR_ATTR,
|
||||
vec![flex(u), builtin_aliases::num_type(a)],
|
||||
)
|
||||
}
|
||||
|
||||
#[inline(always)]
|
||||
fn result_type(u: VarId, a: SolvedType, e: SolvedType) -> SolvedType {
|
||||
SolvedType::Apply(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue