File tree Expand file tree Collapse file tree 3 files changed +172
-103
lines changed Expand file tree Collapse file tree 3 files changed +172
-103
lines changed Original file line number Diff line number Diff line change @@ -53,22 +53,6 @@ impl Group {
53
53
/// Number of bytes in the group.
54
54
pub const WIDTH : usize = mem:: size_of :: < Self > ( ) ;
55
55
56
- /// Returns a full group of empty bytes, suitable for use as the initial
57
- /// value for an empty hash table.
58
- ///
59
- /// This is guaranteed to be aligned to the group size.
60
- #[ inline]
61
- pub fn static_empty ( ) -> & ' static [ u8 ] {
62
- union AlignedBytes {
63
- _align : Group ,
64
- bytes : [ u8 ; Group :: WIDTH ] ,
65
- } ;
66
- const ALIGNED_BYTES : AlignedBytes = AlignedBytes {
67
- bytes : [ EMPTY ; Group :: WIDTH ] ,
68
- } ;
69
- unsafe { & ALIGNED_BYTES . bytes }
70
- }
71
-
72
56
/// Loads a group of bytes starting at the given address.
73
57
#[ inline]
74
58
#[ allow( clippy:: cast_ptr_alignment) ] // unaligned load
You can’t perform that action at this time.
0 commit comments