We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9fc578 commit 799bce9Copy full SHA for 799bce9
rust/signed_doc/src/validator/rules/content_type.rs
@@ -23,8 +23,8 @@ impl ContentTypeRule {
23
if let Ok(content_type) = doc.doc_content_type() {
24
doc.report().unknown_field(
25
"content-type",
26
- &content_type.to_string().as_str(),
27
- &format!("document does not expect to have the content type field"),
+ content_type.to_string().as_str(),
+ "document does not expect to have the content type field",
28
);
29
return Ok(false);
30
}
0 commit comments