mirror of
https://github.com/teloxide/teloxide.git
synced 2025-03-24 23:57:38 +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();
|
let normalized = value.to_lowercase();
|
||||||
match normalized.as_ref() {
|
match normalized.as_ref() {
|
||||||
"html" => Ok(ParseMode::HTML),
|
"html" => Ok(ParseMode::HTML),
|
||||||
#[allow(depredecated)]
|
|
||||||
"markdown" => Ok(ParseMode::Markdown),
|
"markdown" => Ok(ParseMode::Markdown),
|
||||||
"markdownv2" => Ok(ParseMode::MarkdownV2),
|
"markdownv2" => Ok(ParseMode::MarkdownV2),
|
||||||
_ => Err(()),
|
_ => Err(()),
|
||||||
|
|
Loading…
Add table
Reference in a new issue