Make pattern_symbols be a slice

This commit is contained in:
Richard Feldman 2020-08-08 21:54:16 -04:00
parent 4acb9fa325
commit 0f8906b6d3
2 changed files with 4 additions and 4 deletions

View file

@ -202,7 +202,7 @@ pub fn gen(
let proc = PartialProc {
annotation: def.expr_var,
// This is a 0-arity thunk, so it has no arguments.
pattern_symbols: bumpalo::collections::Vec::new_in(arena),
pattern_symbols: &[],
body,
};