Skip to content

Commit 918dbd4

Browse files
committed
chore: minor comments
1 parent 5e1c379 commit 918dbd4

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

rust/catalyst-signed-doc-macro/src/rules/content_type.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ pub(crate) fn into_rule(
1919
);
2020

2121
return Ok(quote! {
22-
crate::validator::rules::ContentTypeRule::Unspecified
22+
crate::validator::rules::ContentTypeRule::NotSpecified
2323
});
2424
}
2525

rust/catalyst-signed-doc-macro/src/signed_doc_spec/content_type.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
#[derive(serde::Deserialize)]
55
#[allow(clippy::missing_docs_in_private_items)]
66
pub(crate) struct ContentType {
7-
#[allow(dead_code)]
87
pub(crate) required: super::IsRequired,
98
pub(crate) value: String,
109
}

0 commit comments

Comments
 (0)