Derive Eq for PtrWidth

This commit is contained in:
Richard Feldman 2022-05-20 20:00:19 -04:00
parent f6b1d3b592
commit c685acd3cd
No known key found for this signature in database
GPG Key ID: 7E4127D1E4241798

View File

@ -51,7 +51,7 @@ impl From<&target_lexicon::Triple> for TargetInfo {
}
#[repr(u8)]
#[derive(Debug, Clone, Copy)]
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum PtrWidth {
Bytes4 = 4,
Bytes8 = 8,