diff --git a/crates/teloxide/src/dispatching.rs b/crates/teloxide/src/dispatching.rs index 4f0184f2..d456aabc 100644 --- a/crates/teloxide/src/dispatching.rs +++ b/crates/teloxide/src/dispatching.rs @@ -220,7 +220,7 @@ pub mod dialogue; /// This module was moved to [`teloxide::update_listeners`]. /// /// [`teloxide::update_listeners`]: crate::update_listeners -#[deprecated] +#[deprecated = "This module was moved. Use `teloxide::update_listeners` instead."] pub mod update_listeners { pub use crate::update_listeners::*; } @@ -228,7 +228,7 @@ pub mod update_listeners { /// This module was moved to [`teloxide::repls`]. /// /// [`teloxide::repls`]: crate::repls -#[deprecated] +#[deprecated = "This module was moved. Use `teloxide::repls` instead."] #[cfg(all(feature = "ctrlc_handler"))] pub mod repls { pub use crate::repls::*;