Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
rklaehn committed Nov 13, 2024
1 parent 4bc6531 commit 622d1c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rpc/client/docs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ impl<C: Connector<RpcService>> Doc<C> {
.try_server_streaming(DocSubscribeRequest { doc_id: self.id() })
.await?;
Ok(stream.map(|res| match res {
Ok(res) => Ok(res.event.into()),
Ok(res) => Ok(res.event),
Err(err) => Err(err.into()),
}))
}
Expand Down

0 comments on commit 622d1c3

Please sign in to comment.