Skip to content

Commit 77fdfed

Browse files
committed
Add #[derive(Clone)] to Error
1 parent 577810e commit 77fdfed

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
@@ -65,7 +65,7 @@ use std::slice;
6565
use std::error::Error as StdError;
6666

6767
/// Possible errors during slice conversion.
68-
#[derive(Debug, PartialEq, Eq)]
68+
#[derive(Clone, Debug, PartialEq, Eq)]
6969
pub enum Error {
7070
/// The input slice is not properly aligned for the
7171
/// output data type. E.g. for an `u32` output slice

0 commit comments

Comments
 (0)