From 87452b58e0a4cbef4973e81419d719b0b8fc298b Mon Sep 17 00:00:00 2001 From: edef Date: Fri, 17 Mar 2017 01:52:19 +0100 Subject: [PATCH] Remove NoDrop's unnecessary empty variant --- src/generator.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/generator.rs b/src/generator.rs index add11b0..e8adb8f 100644 --- a/src/generator.rs +++ b/src/generator.rs @@ -93,7 +93,6 @@ pub struct Generator<'a, Input: 'a, Output: 'a, Stack: stack::Stack> { #[allow(unions_with_drop_fields)] union NoDrop { inner: T - _empty: () } impl ::core::fmt::Debug for NoDrop {