mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-02 19:32:17 +00:00
clippy
This commit is contained in:
parent
ee264981b6
commit
45d994d7d7
4 changed files with 4 additions and 4 deletions
|
@ -406,7 +406,7 @@ fn contains_unexposed_type(
|
|||
contains_unexposed_type(&loc_arg.value, exposed_module_ids, module_ids)
|
||||
})
|
||||
} else {
|
||||
return true;
|
||||
true
|
||||
}
|
||||
}
|
||||
Malformed(_) | Inferred | Wildcard | BoundVariable(_) => false,
|
||||
|
|
|
@ -3339,7 +3339,7 @@ fn finish(
|
|||
exposed_types_storage: ExposedTypesStorageSubs,
|
||||
resolved_implementations: ResolvedImplementations,
|
||||
dep_idents: IdentIdsByModule,
|
||||
mut documentation: VecMap<ModuleId, ModuleDocumentation>,
|
||||
documentation: VecMap<ModuleId, ModuleDocumentation>,
|
||||
abilities_store: AbilitiesStore,
|
||||
//
|
||||
#[cfg(debug_assertions)] checkmate: Option<roc_checkmate::Collector>,
|
||||
|
|
|
@ -23,7 +23,7 @@ use roc_load_internal::file::{
|
|||
};
|
||||
use roc_load_internal::module::LoadedModule;
|
||||
use roc_module::ident::ModuleName;
|
||||
use roc_module::symbol::{Interns, ModuleId, Symbol};
|
||||
use roc_module::symbol::{Interns, ModuleId};
|
||||
use roc_packaging::cache::RocCacheDir;
|
||||
use roc_problem::can::Problem;
|
||||
use roc_region::all::LineInfo;
|
||||
|
|
|
@ -4,7 +4,7 @@ extern crate pulldown_cmark;
|
|||
extern crate roc_load;
|
||||
use bumpalo::Bump;
|
||||
use roc_can::scope::Scope;
|
||||
use roc_collections::{VecMap, VecSet};
|
||||
use roc_collections::{VecSet};
|
||||
use roc_load::docs::{DocEntry, TypeAnnotation};
|
||||
use roc_load::docs::{ModuleDocumentation, RecordField};
|
||||
use roc_load::{ExecutionMode, LoadConfig, LoadedModule, LoadingProblem, Threading};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue