Skip to content

Commit 5bb6cc4

Browse files
committed
fix(rust/signed-doc): signed docs implement Clone
1 parent 8b9622b commit 5bb6cc4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rust/signed_doc/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ struct InnerCatalystSignedDocument {
4343
/// Better even to use a structure like this. Wrapping in an Arc means we don't have to
4444
/// manage the Arc anywhere else. These are likely to be large, best to have the Arc be
4545
/// non-optional.
46+
#[derive(Clone)]
4647
pub struct CatalystSignedDocument {
4748
/// Catalyst Signed Document metadata, raw doc, with content errors.
4849
inner: Arc<InnerCatalystSignedDocument>,

0 commit comments

Comments
 (0)