We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 454d208 commit 3353a68Copy full SHA for 3353a68
src/raw/generic.rs
@@ -53,22 +53,6 @@ impl Group {
53
/// Number of bytes in the group.
54
pub const WIDTH: usize = mem::size_of::<Self>();
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
/// Loads a group of bytes starting at the given address.
73
#[inline]
74
#[allow(clippy::cast_ptr_alignment)] // unaligned load
0 commit comments