Skip to content

Commit

Permalink
docs: fix clippy lint in readme example
Browse files Browse the repository at this point in the history
  • Loading branch information
jbr authored Jul 4, 2024
1 parent 84bfdf8 commit 17f0c59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ use futures_lite::prelude::*;
use signal_hook::low_level;

// Register the signals we want to receive.
let mut signals = Signals::new(&[
let mut signals = Signals::new([
Signal::Term,
Signal::Quit,
Signal::Int,
Expand Down

0 comments on commit 17f0c59

Please sign in to comment.