Skip to content

Commit

Permalink
rtc: fix usage of non-global path to Result
Browse files Browse the repository at this point in the history
  • Loading branch information
surban committed Jul 31, 2024
1 parent 7e5d01a commit 721be30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion remoc_macro/src/trait_def.rs
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,7 @@ impl TraitDef {
(Self { req_rx }, Self::Client::new(req_tx))
}

async fn recv(&mut self) -> Result<Option<Self::Req>, ::remoc::rch::mpsc::RecvError> {
async fn recv(&mut self) -> ::std::result::Result<Option<Self::Req>, ::remoc::rch::mpsc::RecvError> {
self.req_rx.recv().await.map(|res| res.map(|opt| opt.into()))
}

Expand Down

0 comments on commit 721be30

Please sign in to comment.