1
0
Fork 0

Remove NoDrop's unnecessary empty variant

This commit is contained in:
edef 2017-03-17 01:52:19 +01:00
parent 409451c32c
commit 87452b58e0
1 changed files with 0 additions and 1 deletions

View File

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