Add deprecation note

This commit is contained in:
Maybe Waffle 2022-12-15 17:04:05 +04:00
parent 6f1bb4b519
commit 1f5b242b36

View file

@ -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::*;