Fix unused ctrlc_handler warning

This commit is contained in:
Hirrolot 2022-11-25 17:04:06 +06:00 committed by Maybe Waffle
parent 437404df22
commit d50370a5f9

View file

@ -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,