mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Fill-in deprecation version, remove useless allow
This commit is contained in:
parent
6e176113cd
commit
74b03664cf
2 changed files with 5 additions and 3 deletions
|
@ -145,8 +145,11 @@ pub enum ParseMode {
|
|||
MarkdownV2,
|
||||
#[serde(rename = "HTML")]
|
||||
Html,
|
||||
#[deprecated = "This is a legacy mode, retained for backward compatibility. Use `MarkdownV2` \
|
||||
instead."]
|
||||
#[deprecated(
|
||||
since = "0.1.0",
|
||||
note = "This is a legacy mode, retained for backward compatibility. Use `MarkdownV2` \
|
||||
instead."
|
||||
)]
|
||||
Markdown,
|
||||
}
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
pub use crate::error_handlers::{LoggingErrorHandler, OnError};
|
||||
|
||||
#[allow(deprecated)]
|
||||
pub use crate::respond;
|
||||
|
||||
pub use crate::dispatching::{
|
||||
|
|
Loading…
Reference in a new issue