fix copy mistake

This commit is contained in:
Folkert 2021-05-14 12:56:35 +02:00
parent ca78439756
commit 80423bac76
2 changed files with 2 additions and 3 deletions

View file

@ -168,7 +168,6 @@ impl<'a> LambdaSet<'a> {
) -> Layout<'a> {
if let [] = self.set {
// TERRIBLE HACK for builting functions
panic!();
Layout::FunctionPointer(argument_layouts, ret_layout)
} else {
match self.representation {