summaryrefslogtreecommitdiffstats
path: root/tokio-signal/examples/sighup-example.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio-signal/examples/sighup-example.rs')
-rw-r--r--tokio-signal/examples/sighup-example.rs8
1 files changed, 2 insertions, 6 deletions
diff --git a/tokio-signal/examples/sighup-example.rs b/tokio-signal/examples/sighup-example.rs
index 08972b9e..ef84194d 100644
--- a/tokio-signal/examples/sighup-example.rs
+++ b/tokio-signal/examples/sighup-example.rs
@@ -20,12 +20,8 @@ mod platform {
// Up until now, we haven't really DONE anything, just prepared
// our futures, now it's time to actually await the results!
- while let Some(the_signal) = stream.next().await {
- println!(
- "*Got signal {:#x}* I should probably reload my config \
- or something",
- the_signal
- );
+ while let Some(_) = stream.next().await {
+ println!("*Got signal* I should probably reload my config or something");
}
}
}