File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
rust/signed_doc/src/metadata Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,6 @@ impl TryFrom<DocumentId> for Value {
4040 type Error = anyhow:: Error ;
4141
4242 fn try_from ( value : DocumentId ) -> Result < Self , Self :: Error > {
43- encode_cbor_uuid ( value. 0 ) . map_err ( |e| anyhow :: anyhow! ( "{e}" ) )
43+ encode_cbor_uuid ( value. 0 )
4444 }
4545}
Original file line number Diff line number Diff line change @@ -40,6 +40,6 @@ impl TryFrom<DocumentType> for Value {
4040 type Error = anyhow:: Error ;
4141
4242 fn try_from ( value : DocumentType ) -> Result < Self , Self :: Error > {
43- encode_cbor_uuid ( value. 0 ) . map_err ( |e| anyhow :: anyhow! ( "{e}" ) )
43+ encode_cbor_uuid ( value. 0 )
4444 }
4545}
Original file line number Diff line number Diff line change @@ -39,6 +39,6 @@ impl TryFrom<DocumentVersion> for Value {
3939 type Error = anyhow:: Error ;
4040
4141 fn try_from ( value : DocumentVersion ) -> Result < Self , Self :: Error > {
42- encode_cbor_uuid ( value. 0 ) . map_err ( |e| anyhow :: anyhow! ( "{e}" ) )
42+ encode_cbor_uuid ( value. 0 )
4343 }
4444}
You can’t perform that action at this time.
0 commit comments