mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Fix unused ctrlc_handler
warning
This commit is contained in:
parent
437404df22
commit
d50370a5f9
1 changed files with 3 additions and 0 deletions
|
@ -144,6 +144,9 @@ where
|
|||
ctrlc_handler,
|
||||
} = self;
|
||||
|
||||
// If the `ctrlc_handler` feature is not enabled, don't emit a warning.
|
||||
let _ = ctrlc_handler;
|
||||
|
||||
let dp = Dispatcher {
|
||||
bot,
|
||||
dependencies,
|
||||
|
|
Loading…
Reference in a new issue