mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 22:46:39 +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,
|
MarkdownV2,
|
||||||
#[serde(rename = "HTML")]
|
#[serde(rename = "HTML")]
|
||||||
Html,
|
Html,
|
||||||
#[deprecated = "This is a legacy mode, retained for backward compatibility. Use `MarkdownV2` \
|
#[deprecated(
|
||||||
instead."]
|
since = "0.1.0",
|
||||||
|
note = "This is a legacy mode, retained for backward compatibility. Use `MarkdownV2` \
|
||||||
|
instead."
|
||||||
|
)]
|
||||||
Markdown,
|
Markdown,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
pub use crate::error_handlers::{LoggingErrorHandler, OnError};
|
pub use crate::error_handlers::{LoggingErrorHandler, OnError};
|
||||||
|
|
||||||
#[allow(deprecated)]
|
|
||||||
pub use crate::respond;
|
pub use crate::respond;
|
||||||
|
|
||||||
pub use crate::dispatching::{
|
pub use crate::dispatching::{
|
||||||
|
|
Loading…
Reference in a new issue