Skip to content

Commit 4f71004

Browse files
committed
Remove impl Bytes from tuple types, which may not be contiguous
1 parent 1610678 commit 4f71004

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/traits.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,3 @@ unsafe impl Bytes for f32 {}
8484
unsafe impl Bytes for f64 {}
8585

8686
unsafe impl<T: Bytes, const N: usize> Bytes for [T; N] {}
87-
88-
unsafe impl Bytes for () {}
89-
unsafe impl<T1: Bytes, T2: Bytes> Bytes for (T1, T2) {}
90-
unsafe impl<T1: Bytes, T2: Bytes, T3: Bytes> Bytes for (T1, T2, T3) {}
91-
unsafe impl<T1: Bytes, T2: Bytes, T3: Bytes, T4: Bytes> Bytes for (T1, T2, T3, T4) {}

0 commit comments

Comments
 (0)