mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 03:42:17 +00:00
clippy
This commit is contained in:
parent
2e2b687fac
commit
a354860d07
2 changed files with 5 additions and 9 deletions
|
@ -277,8 +277,8 @@ fn deep_copy_expr_help<C: CopyEnv>(env: &mut C, copied: &mut Vec<Variable>, expr
|
|||
Float(v1, v2, str, val, bound) => Float(sub!(*v1), sub!(*v2), str.clone(), *val, *bound),
|
||||
Str(str) => Str(str.clone()),
|
||||
SingleQuote(v1, v2, char, bound) => SingleQuote(sub!(*v1), sub!(*v2), *char, *bound),
|
||||
IngestedFile(file_path, bytes, anno) => {
|
||||
IngestedFile(file_path.clone(), bytes.clone(), anno.clone())
|
||||
IngestedFile(file_path, bytes, var) => {
|
||||
IngestedFile(file_path.clone(), bytes.clone(), sub!(*var))
|
||||
}
|
||||
List {
|
||||
elem_var,
|
||||
|
|
|
@ -31,13 +31,9 @@ use roc_problem::can::{RuntimeError, ShadowKind};
|
|||
use roc_region::all::{Loc, Region};
|
||||
use roc_std::RocDec;
|
||||
use roc_target::TargetInfo;
|
||||
use roc_types::types::AliasCommon;
|
||||
use roc_types::{
|
||||
subs::{
|
||||
instantiate_rigids, storage_copy_var_to, Content, ExhaustiveMark, FlatType, RedundantMark,
|
||||
StorageSubs, Subs, Variable, VariableSubsSlice,
|
||||
},
|
||||
types::Type,
|
||||
use roc_types::subs::{
|
||||
instantiate_rigids, storage_copy_var_to, Content, ExhaustiveMark, FlatType, RedundantMark,
|
||||
StorageSubs, Subs, Variable, VariableSubsSlice,
|
||||
};
|
||||
use std::collections::HashMap;
|
||||
use ven_pretty::{BoxAllocator, DocAllocator, DocBuilder};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue