great success

This commit is contained in:
Folkert 2021-05-09 23:24:27 +02:00
parent 694a896d54
commit f1a8b75196
5 changed files with 459 additions and 70 deletions

View file

@ -98,7 +98,7 @@ pub struct ClosureLayout<'a> {
/// the layout that this specific closure captures
/// uses a Vec instead of a MutMap because it's Hash
/// the vec is likely to be small, so linear search is fine
captured: &'a [(TagName, &'a [Layout<'a>])],
pub captured: &'a [(TagName, &'a [Layout<'a>])],
/// use with care; there is some stuff happening here re. unwrapping
/// one-element records that might cause issues