mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-03 09:49:07 +01:00
parent
04bcce7701
commit
e1419f578f
1 changed files with 1 additions and 1 deletions
|
@ -447,7 +447,7 @@ where
|
||||||
///
|
///
|
||||||
/// [`shutdown`]: ShutdownToken::shutdown
|
/// [`shutdown`]: ShutdownToken::shutdown
|
||||||
#[cfg(feature = "ctrlc_handler")]
|
#[cfg(feature = "ctrlc_handler")]
|
||||||
#[deprecated(since = "0.10", note = "use `enable_ctrlc_handler` on builder instead")]
|
#[deprecated(since = "0.10.0", note = "use `enable_ctrlc_handler` on builder instead")]
|
||||||
pub fn setup_ctrlc_handler(&mut self) -> &mut Self {
|
pub fn setup_ctrlc_handler(&mut self) -> &mut Self {
|
||||||
self.setup_ctrlc_handler_inner();
|
self.setup_ctrlc_handler_inner();
|
||||||
self
|
self
|
||||||
|
|
Loading…
Reference in a new issue