Skip to content

Commit bcf2ffa

Browse files
committed
Remove EnumExt
1 parent 9a1c049 commit bcf2ffa

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

zerocopy-derive/src/ext.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -111,13 +111,3 @@ fn map_fields<'a>(
111111
})
112112
.collect()
113113
}
114-
115-
pub(crate) trait EnumExt {
116-
fn is_fieldless(&self) -> bool;
117-
}
118-
119-
impl EnumExt for DataEnum {
120-
fn is_fieldless(&self) -> bool {
121-
self.fields().is_empty()
122-
}
123-
}

0 commit comments

Comments
 (0)