mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Add deprecation note
This commit is contained in:
parent
6f1bb4b519
commit
1f5b242b36
1 changed files with 2 additions and 2 deletions
|
@ -220,7 +220,7 @@ pub mod dialogue;
|
||||||
/// This module was moved to [`teloxide::update_listeners`].
|
/// This module was moved to [`teloxide::update_listeners`].
|
||||||
///
|
///
|
||||||
/// [`teloxide::update_listeners`]: crate::update_listeners
|
/// [`teloxide::update_listeners`]: crate::update_listeners
|
||||||
#[deprecated]
|
#[deprecated = "This module was moved. Use `teloxide::update_listeners` instead."]
|
||||||
pub mod update_listeners {
|
pub mod update_listeners {
|
||||||
pub use crate::update_listeners::*;
|
pub use crate::update_listeners::*;
|
||||||
}
|
}
|
||||||
|
@ -228,7 +228,7 @@ pub mod update_listeners {
|
||||||
/// This module was moved to [`teloxide::repls`].
|
/// This module was moved to [`teloxide::repls`].
|
||||||
///
|
///
|
||||||
/// [`teloxide::repls`]: crate::repls
|
/// [`teloxide::repls`]: crate::repls
|
||||||
#[deprecated]
|
#[deprecated = "This module was moved. Use `teloxide::repls` instead."]
|
||||||
#[cfg(all(feature = "ctrlc_handler"))]
|
#[cfg(all(feature = "ctrlc_handler"))]
|
||||||
pub mod repls {
|
pub mod repls {
|
||||||
pub use crate::repls::*;
|
pub use crate::repls::*;
|
||||||
|
|
Loading…
Reference in a new issue