Skip to content

Commit 1f0c834

Browse files
committed
fix spelling
1 parent 2f3fbe7 commit 1f0c834

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

rust/signed_doc/src/content.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ impl Content {
4545
pub(crate) fn from_decoded(
4646
data: Vec<u8>, content_type: ContentType, content_encoding: Option<ContentEncoding>,
4747
) -> anyhow::Result<Self> {
48-
// TODO add conten_type verification
48+
// TODO add content_type verification
4949
Ok(Self {
5050
data,
5151
content_type,

rust/signed_doc/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ mod tests {
207207
let uuid_v7 = UuidV7::new();
208208
let uuid_v4 = UuidV4::new();
209209
let section = "some section".to_string();
210-
let collabs = vec!["collab1".to_string(), "collab2".to_string()];
210+
let collabs = vec!["Alex1".to_string(), "Alex2".to_string()];
211211
let content_type = ContentType::Json;
212212
let content_encoding = ContentEncoding::Brotli;
213213

rust/signed_doc/src/metadata/extra_fields.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ pub struct ExtraFields {
5959
}
6060

6161
impl ExtraFields {
62-
/// Fill the COSE hedear `ExtraFields` data into the header builder.
62+
/// Fill the COSE header `ExtraFields` data into the header builder.
6363
pub(super) fn fill_cose_header_fields(
6464
&self, mut builder: coset::HeaderBuilder,
6565
) -> anyhow::Result<coset::HeaderBuilder> {

0 commit comments

Comments
 (0)