Remove let _ pattern

This commit is contained in:
Stjepan Glavina 2020-09-13 13:42:58 +02:00
parent c9a8a955b0
commit 4ca71638fb
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ fn main() {
// Set a handler that sends a message through a channel.
let (s, ctrl_c) = async_channel::bounded(100);
let handle = move || {
let _ = s.try_send(());
s.try_send(()).ok();
};
ctrlc::set_handler(handle).unwrap();