Skip to content

Commit d7e7cbb

Browse files
committed
fix spelling
1 parent 8121f33 commit d7e7cbb

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

rust/signed_doc/src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ impl CatalystSignedDocument {
8282

8383
/// Return Document Type `UUIDv4`.
8484
///
85-
/// # Errros
85+
/// # Erros
8686
/// - Missing 'type' field.
8787
#[must_use]
8888
pub fn doc_type(&self) -> anyhow::Result<UuidV4> {
@@ -91,7 +91,7 @@ impl CatalystSignedDocument {
9191

9292
/// Return Document ID `UUIDv7`.
9393
///
94-
/// # Errros
94+
/// # Erros
9595
/// - Missing 'id' field.
9696
#[must_use]
9797
pub fn doc_id(&self) -> anyhow::Result<UuidV7> {
@@ -100,7 +100,7 @@ impl CatalystSignedDocument {
100100

101101
/// Return Document Version `UUIDv7`.
102102
///
103-
/// # Errros
103+
/// # Erros
104104
/// - Missing 'ver' field.
105105
#[must_use]
106106
pub fn doc_ver(&self) -> anyhow::Result<UuidV7> {
@@ -115,7 +115,7 @@ impl CatalystSignedDocument {
115115

116116
/// Return document `ContentType`.
117117
///
118-
/// # Errros
118+
/// # Erros
119119
/// - Missing 'content-type' field.
120120
#[must_use]
121121
pub fn doc_content_type(&self) -> anyhow::Result<ContentType> {

rust/signed_doc/src/metadata/mod.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ pub struct Metadata {
6262
impl Metadata {
6363
/// Return Document Cryptographic Algorithm
6464
///
65-
/// # Errros
65+
/// # Erros
6666
/// - Missing 'alg' field.
6767
#[must_use]
6868
pub fn algorithm(&self) -> anyhow::Result<Algorithm> {
@@ -71,7 +71,7 @@ impl Metadata {
7171

7272
/// Return Document Type `UUIDv4`.
7373
///
74-
/// # Errros
74+
/// # Erros
7575
/// - Missing 'type' field.
7676
#[must_use]
7777
pub fn doc_type(&self) -> anyhow::Result<UuidV4> {
@@ -80,7 +80,7 @@ impl Metadata {
8080

8181
/// Return Document ID `UUIDv7`.
8282
///
83-
/// # Errros
83+
/// # Erros
8484
/// - Missing 'id' field.
8585
#[must_use]
8686
pub fn doc_id(&self) -> anyhow::Result<UuidV7> {
@@ -89,7 +89,7 @@ impl Metadata {
8989

9090
/// Return Document Version `UUIDv7`.
9191
///
92-
/// # Errros
92+
/// # Erros
9393
/// - Missing 'ver' field.
9494
#[must_use]
9595
pub fn doc_ver(&self) -> anyhow::Result<UuidV7> {
@@ -98,7 +98,7 @@ impl Metadata {
9898

9999
/// Returns the Document Content Type, if any.
100100
///
101-
/// # Errros
101+
/// # Erros
102102
/// - Missing 'content-type' field.
103103
#[must_use]
104104
pub fn content_type(&self) -> anyhow::Result<ContentType> {

0 commit comments

Comments
 (0)