Derive more things for UnionVariant

This commit is contained in:
Richard Feldman 2020-06-25 01:26:07 -04:00
parent ec953e9a15
commit 487c1e3b75

View File

@ -373,7 +373,7 @@ pub fn record_fields_btree<'a>(
}
}
#[derive(Debug)]
#[derive(Clone, Debug, PartialEq, Eq, Hash)]
pub enum UnionVariant<'a> {
Never,
Unit,