Skip to content

Commit 5c7c618

Browse files
committed
Format
1 parent 49a468a commit 5c7c618

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ pub enum Error {
321321
/// ```
322322
/// assert_eq!(array_bytes::slice2array::<_, 8>(&[0; 8]), Ok([0; 8]));
323323
/// ```
324-
pub fn slice2array<T, const N: usize,>(slice: &[T]) -> Result<[T; N]>
324+
pub fn slice2array<T, const N: usize>(slice: &[T]) -> Result<[T; N]>
325325
where
326326
T: Copy,
327327
{

0 commit comments

Comments
 (0)