mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-08 19:33:53 +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,
|
ctrlc_handler,
|
||||||
} = self;
|
} = self;
|
||||||
|
|
||||||
|
// If the `ctrlc_handler` feature is not enabled, don't emit a warning.
|
||||||
|
let _ = ctrlc_handler;
|
||||||
|
|
||||||
let dp = Dispatcher {
|
let dp = Dispatcher {
|
||||||
bot,
|
bot,
|
||||||
dependencies,
|
dependencies,
|
||||||
|
|
Loading…
Reference in a new issue