File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 205205MPMC
206206msvc
207207Multiaddr
208+ multibase
208209multicodec
209210multiera
210211multihash
@@ -346,6 +347,7 @@ utimensat
346347UTXO
347348uuidv4
348349uuidv7
350+ varint
349351venv
350352vitss
351353Vkey
Original file line number Diff line number Diff line change 2828//! # let doc: CatalystSignedDocument = todo!();
2929//! let cid = doc.to_cid_v1()?;
3030//! let cid_string = cid.to_string();
31- //! // Result: "bafyrei ..." (base32-encoded CID v1)
31+ //! // Result: "b ..." (base32-encoded CID v1)
3232//! # Ok::<(), anyhow::Error>(())
3333//! ```
3434
@@ -71,7 +71,7 @@ pub enum CidError {
7171 Encoding ( String ) ,
7272}
7373
74- /// A newtype wrapper around `cid::Cid` for type-safe CID v1 handling.
74+ /// A new type wrapper around `cid::Cid` for type-safe CID v1 handling.
7575///
7676/// This type provides conversion methods and trait implementations for working with
7777/// CID v1 identifiers, especially in the context of CBOR-encoded Catalyst Signed
@@ -281,7 +281,7 @@ mod tests {
281281 let cid_string = cid. to_string ( ) ;
282282
283283 // Parse the string back to a CID
284- let cid_from_str = Cid :: from_str ( & cid_string) . expect ( "CID string should be parseable " ) ;
284+ let cid_from_str = Cid :: from_str ( & cid_string) . expect ( "CID string should be parsable " ) ;
285285
286286 assert_eq ! ( cid, cid_from_str) ;
287287 }
You can’t perform that action at this time.
0 commit comments