Skip to content

Commit b4ab647

Browse files
authored
signal: fix typo in argument name (#6389)
1 parent 3133af4 commit b4ab647

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tokio-stream/src/wrappers/signal_unix.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ pub struct SignalStream {
1515

1616
impl SignalStream {
1717
/// Create a new `SignalStream`.
18-
pub fn new(interval: Signal) -> Self {
19-
Self { inner: interval }
18+
pub fn new(signal: Signal) -> Self {
19+
Self { inner: signal }
2020
}
2121

2222
/// Get back the inner `Signal`.

0 commit comments

Comments
 (0)