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 ef5c92e commit 94d74f6Copy full SHA for 94d74f6
rust/signed_doc/src/metadata/content_type.rs
@@ -57,6 +57,9 @@ impl FromStr for ContentType {
57
anyhow::bail!(
58
"Unsupported Content Type: {s:?}, Supported only: {:?}",
59
ContentType::VARIANTS
60
+ .iter()
61
+ .map(ToString::to_string)
62
+ .collect::<Vec<_>>()
63
)
64
},
65
}
@@ -91,6 +94,9 @@ impl TryFrom<&coset::ContentType> for ContentType {
91
94
92
95
"Unsupported Content Type {value:?}, Supported only: {:?}",
93
96
97
98
99
100
101
102
};
0 commit comments