From 721be305f087fc5748248f9a02fe7927136794b9 Mon Sep 17 00:00:00 2001 From: Sebastian Urban Date: Wed, 31 Jul 2024 12:24:46 +0200 Subject: [PATCH] rtc: fix usage of non-global path to Result --- remoc_macro/src/trait_def.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remoc_macro/src/trait_def.rs b/remoc_macro/src/trait_def.rs index d5f8adb..f524dbe 100644 --- a/remoc_macro/src/trait_def.rs +++ b/remoc_macro/src/trait_def.rs @@ -761,7 +761,7 @@ impl TraitDef { (Self { req_rx }, Self::Client::new(req_tx)) } - async fn recv(&mut self) -> Result, ::remoc::rch::mpsc::RecvError> { + async fn recv(&mut self) -> ::std::result::Result, ::remoc::rch::mpsc::RecvError> { self.req_rx.recv().await.map(|res| res.map(|opt| opt.into())) }