remove #[allow(depredecated)] in match

This commit is contained in:
p0lunin 2020-01-02 12:17:56 +02:00
parent 2a4b462996
commit 4d3d96be7c

View file

@ -140,7 +140,6 @@ impl TryFrom<&str> for ParseMode {
let normalized = value.to_lowercase();
match normalized.as_ref() {
"html" => Ok(ParseMode::HTML),
#[allow(depredecated)]
"markdown" => Ok(ParseMode::Markdown),
"markdownv2" => Ok(ParseMode::MarkdownV2),
_ => Err(()),