From 2d4cd838c747f2dfb2b7ccd725f443f39c1ec0bf Mon Sep 17 00:00:00 2001 From: Steven Malis <137308034+smalis-msft@users.noreply.github.com> Date: Tue, 5 May 2026 15:09:53 -0700 Subject: [PATCH] Add Clone derive to Error I believe all of the variants here are cloneable, this should be too. --- src/errors.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/errors.rs b/src/errors.rs index 2a69b38e..21a5fe8e 100644 --- a/src/errors.rs +++ b/src/errors.rs @@ -4,7 +4,7 @@ pub type Result = core::result::Result; /// Error types -#[derive(Debug, Eq, PartialEq)] +#[derive(Clone, Debug, Eq, PartialEq)] #[non_exhaustive] pub enum Error { /// Invalid padding scheme.