We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 488ec83 commit fc7919aCopy full SHA for fc7919a
rust/signed_doc/src/cid_v1.rs
@@ -20,17 +20,6 @@
20
//! - **Hash function**: Only SHA2-256 is supported (32-byte digest)
21
//! - **Codec**: Fixed to CBOR (0x51)
22
//! - **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
-//! ```
34
35
use std::{fmt, ops::Deref, str::FromStr};
36
0 commit comments