Skip to content

Commit f28445f

Browse files
authored
Merge pull request #126 from nikomatsakis/main
fix: mysterious compilation error around unbounded rcvr
2 parents fda2a1c + 4387169 commit f28445f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/sacp/src/session.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ where
680680
// Step 3: Drain any messages that were already queued and forward to client.
681681
// These messages arrived before we dropped the handler but haven't been
682682
// consumed yet. We must forward them to maintain message ordering.
683-
while let Some(message) = update_rx.try_recv().ok() {
683+
while let Some(Some(message)) = update_rx.try_next().ok() {
684684
match message {
685685
SessionMessage::SessionMessage(dispatch) => {
686686
// Forward the message to the client

0 commit comments

Comments
 (0)