fix clippy issues

This commit is contained in:
Folkert 2020-10-30 22:28:55 +01:00
parent 40bf9be1e2
commit 9e981c264e
7 changed files with 12 additions and 40 deletions

View file

@ -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(