Skip to content

Commit dc8f547

Browse files
committed
chore(rust/signed-doc): fix spelling
1 parent e15670f commit dc8f547

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.config/dictionaries/project.dic

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ moka
205205
MPMC
206206
msvc
207207
Multiaddr
208+
multibase
208209
multicodec
209210
multiera
210211
multihash
@@ -346,6 +347,7 @@ utimensat
346347
UTXO
347348
uuidv4
348349
uuidv7
350+
varint
349351
venv
350352
vitss
351353
Vkey

rust/signed_doc/src/cid_v1.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
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
}

0 commit comments

Comments
 (0)