minor cleanup

This commit is contained in:
Anton-4 2021-10-05 14:51:57 +02:00
parent ab665b7380
commit 78e3609498
3 changed files with 5 additions and 7 deletions

View File

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

View File

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

View File

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