Skip to content

Commit 2494624

Browse files
committed
Add Eq impl for Error
1 parent 22806e8 commit 2494624

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use std::{error, fmt};
22

33
/// An enumeration of buffer creation errors
4-
#[derive(Debug, Clone, Copy)]
4+
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
55
#[non_exhaustive]
66
pub enum Error {
77
/// No choices were provided to the Unstructured::choose call

0 commit comments

Comments
 (0)