Skip to content

Commit fc7919a

Browse files
committed
fix(rust/signed-doc): remove stale example
1 parent 488ec83 commit fc7919a

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

rust/signed_doc/src/cid_v1.rs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,6 @@
2020
//! - **Hash function**: Only SHA2-256 is supported (32-byte digest)
2121
//! - **Codec**: Fixed to CBOR (0x51)
2222
//! - **Output size**: 36 bytes in binary format
23-
//!
24-
//! ## Example
25-
//!
26-
//! ```no_run
27-
//! # use catalyst_signed_doc::{CatalystSignedDocument, cid_v1::Cid};
28-
//! # let doc: CatalystSignedDocument = todo!();
29-
//! let cid = doc.to_cid_v1()?;
30-
//! let cid_string = cid.to_string();
31-
//! // Result: "b..." (base32-encoded CID v1)
32-
//! # Ok::<(), anyhow::Error>(())
33-
//! ```
3423
3524
use std::{fmt, ops::Deref, str::FromStr};
3625

0 commit comments

Comments
 (0)