mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-11 05:34:11 +03:00
minor cleanup
This commit is contained in:
parent
ab665b7380
commit
78e3609498
@ -59,14 +59,13 @@ fn write_def_to_bump_str_html<'a, 'b>(
|
||||
) -> ASTResult<()> {
|
||||
let def2 = def_to_def2(arena, env, scope, def, region);
|
||||
|
||||
let mut def2_pool = Pool::with_capacity(1024);
|
||||
let def2_id = def2_pool.add(def2);
|
||||
let def2_id = env.pool.add(def2);
|
||||
|
||||
let mut mark_node_pool = SlowPool::default();
|
||||
|
||||
let def2_markup_id = def2_to_markup(
|
||||
env,
|
||||
def2_pool.get(def2_id),
|
||||
env.pool.get(def2_id),
|
||||
def2_id,
|
||||
&mut mark_node_pool,
|
||||
interns,
|
||||
|
@ -53,14 +53,13 @@ fn write_expr_to_bump_str_html<'a, 'b>(
|
||||
) -> ASTResult<()> {
|
||||
let (expr2, _) = expr_to_expr2(env, scope, expr, region);
|
||||
|
||||
let mut expr2_pool = Pool::with_capacity(1024);
|
||||
let expr2_id = expr2_pool.add(expr2);
|
||||
let expr2_id = env.pool.add(expr2);
|
||||
|
||||
let mut mark_node_pool = SlowPool::default();
|
||||
|
||||
let expr2_markup_id = expr2_to_markup(
|
||||
env,
|
||||
expr2_pool.get(expr2_id),
|
||||
env.pool.get(expr2_id),
|
||||
expr2_id,
|
||||
&mut mark_node_pool,
|
||||
interns,
|
||||
|
@ -41,7 +41,7 @@
|
||||
</main>
|
||||
<footer>
|
||||
<p>Made by people who like to make nice things.</p>
|
||||
<p>© 2020</p>
|
||||
<p>© 2021</p>
|
||||
</footer>
|
||||
</body>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user