mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 22:46:39 +01:00
remove #[allow(depredecated)] in match
This commit is contained in:
parent
2a4b462996
commit
4d3d96be7c
1 changed files with 0 additions and 1 deletions
|
@ -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(()),
|
||||
|
|
Loading…
Reference in a new issue