Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
minseongg committed Oct 16, 2024
1 parent 4c50fbf commit 0456c33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/docs/lang/combinator.md
Original file line number Diff line number Diff line change
Expand Up @@ -413,13 +413,13 @@ impl<P: Copy, const N: usize> Vr<(P, BoundedU<N>)> {
self.fsm::<[Vr<P>; N], ()>(|ip, ers, _| {
let Some((ip, sel)) = ip else {
// Ingress ready signal is true when valid signal is false.
return (None.repeat::<N>(), Ready::new(true, er.map(|r| r.inner)), s);
return (None.repeat::<N>(), Ready::new(true, ers.map(|r| r.inner)), ());
};
let ep = None.repeat::<N>().set(sel.value(), Some(ip));
let ir = Ready::new(ers[sel.value()].ready, ers.map(|r| r.inner));
(ep, ir, s)
(ep, ir, ())
})
}
}
Expand Down

0 comments on commit 0456c33

Please sign in to comment.