Skip to content

Commit

Permalink
signal: fix typo in argument name (#6389)
Browse files Browse the repository at this point in the history
  • Loading branch information
yotamofek authored Mar 10, 2024
1 parent 3133af4 commit b4ab647
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tokio-stream/src/wrappers/signal_unix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ pub struct SignalStream {

impl SignalStream {
/// Create a new `SignalStream`.
pub fn new(interval: Signal) -> Self {
Self { inner: interval }
pub fn new(signal: Signal) -> Self {
Self { inner: signal }
}

/// Get back the inner `Signal`.
Expand Down

0 comments on commit b4ab647

Please sign in to comment.