signal: fix typo in argument name (#6389)

This commit is contained in:
Yotam Ofek
2024-03-10 16:24:07 +01:00
committed by GitHub
parent 3133af42e1
commit b4ab6472de
+2 -2
View File
@@ -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`.