Remove NoDrop's unnecessary empty variant

This commit is contained in:
edef 2017-03-17 01:52:19 +01:00
parent 409451c32c
commit 87452b58e0

View File

@ -93,7 +93,6 @@ pub struct Generator<'a, Input: 'a, Output: 'a, Stack: stack::Stack> {
#[allow(unions_with_drop_fields)]
union NoDrop<T> {
inner: T
_empty: ()
}
impl<T: ::core::fmt::Debug> ::core::fmt::Debug for NoDrop<T> {