mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 08:34:33 +00:00
Minor cleanups
This commit is contained in:
parent
a13a3231c7
commit
8ee88ba7cb
1 changed files with 2 additions and 2 deletions
|
@ -1042,7 +1042,7 @@ pub fn load_and_typecheck_str<'a>(
|
|||
roc_cache_dir,
|
||||
load_config,
|
||||
)? {
|
||||
Monomorphized(_) => unreachable!(""),
|
||||
Monomorphized(_) => unreachable!(),
|
||||
TypeChecked(module) => Ok(module),
|
||||
}
|
||||
}
|
||||
|
@ -1719,8 +1719,8 @@ fn load_multi_threaded<'a>(
|
|||
// Get a reference to the completed stealers, so we can send that
|
||||
// reference to each worker. (Slices are Sync, but bumpalo Vecs are not.)
|
||||
let stealers = stealers.into_bump_slice();
|
||||
|
||||
let it = worker_arenas.iter_mut();
|
||||
|
||||
{
|
||||
thread::scope(|thread_scope| {
|
||||
let mut worker_listeners =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue