Remove NoDrop's unnecessary empty variant
This commit is contained in:
parent
409451c32c
commit
87452b58e0
|
@ -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> {
|
||||||
|
|
Loading…
Reference in New Issue