Skip to content

Commit 799bce9

Browse files
committed
chore: lintfix
1 parent e9fc578 commit 799bce9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rust/signed_doc/src/validator/rules/content_type.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ impl ContentTypeRule {
2323
if let Ok(content_type) = doc.doc_content_type() {
2424
doc.report().unknown_field(
2525
"content-type",
26-
&content_type.to_string().as_str(),
27-
&format!("document does not expect to have the content type field"),
26+
content_type.to_string().as_str(),
27+
"document does not expect to have the content type field",
2828
);
2929
return Ok(false);
3030
}

0 commit comments

Comments
 (0)