Skip to content

Commit cc5dba8

Browse files
committed
hybrid-array: remove ByteArray alias
It's longer than `Array<u8, _>` and provides little value other than needless indirection. Closes #987
1 parent 143f342 commit cc5dba8

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

hybrid-array/src/lib.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -514,9 +514,6 @@ fn check_slice_length<T, U: ArraySize>(slice: &[T]) -> Result<(), TryFromSliceEr
514514
Ok(())
515515
}
516516

517-
/// Byte array type.
518-
pub type ByteArray<U> = Array<u8, U>;
519-
520517
/// Array operations which are const generic over a given array size.
521518
pub trait ArrayOps<T, const N: usize>:
522519
AsRef<[T; N]>

0 commit comments

Comments
 (0)