From 76b00cd644768d6a1b66b50b802bb72e2be228ce Mon Sep 17 00:00:00 2001 From: cel 🌸 Date: Tue, 25 Feb 2025 20:50:23 +0000 Subject: implement Clone for error types --- stanza/src/stream.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stanza') diff --git a/stanza/src/stream.rs b/stanza/src/stream.rs index 60b13bc..8e1982f 100644 --- a/stanza/src/stream.rs +++ b/stanza/src/stream.rs @@ -179,7 +179,7 @@ impl FromElement for Feature { } } -#[derive(Error, Debug)] +#[derive(Error, Debug, Clone)] pub struct Error { error: StreamError, text: Option, -- cgit