Don't cfg(all(single_thing))

This commit is contained in:
Maybe Waffle 2023-05-29 20:06:07 +04:00
parent 4eb80e0640
commit 6911e323fd
2 changed files with 2 additions and 2 deletions

View file

@ -229,7 +229,7 @@ pub mod update_listeners {
///
/// [`teloxide::repls`]: crate::repls
#[deprecated = "This module was moved. Use `teloxide::repls` instead."]
#[cfg(all(feature = "ctrlc_handler"))]
#[cfg(feature = "ctrlc_handler")]
pub mod repls {
pub use crate::repls::*;
}

View file

@ -69,7 +69,7 @@ pub use repls::{commands_repl, commands_repl_with_listener};
pub mod dispatching;
pub mod error_handlers;
pub mod prelude;
#[cfg(all(feature = "ctrlc_handler"))]
#[cfg(feature = "ctrlc_handler")]
pub mod repls;
pub mod stop;
pub mod update_listeners;