Skip to content

Commit 32ce237

Browse files
clippy
1 parent f55ddc5 commit 32ce237

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transport/tokio_mpsc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ impl<S: Service> transport::ServerEndpoint<S::Req, S::Res> for ServerEndpoint<S>
144144
.await
145145
.recv()
146146
.await
147-
.ok_or_else(|| AcceptBiError::RemoteDropped)?;
147+
.ok_or(AcceptBiError::RemoteDropped)?;
148148
Ok((send, recv))
149149
}
150150

0 commit comments

Comments
 (0)