Explorar o código

core API: MercuryManager.request()

awiouy %!s(int64=7) %!d(string=hai) anos
pai
achega
0ed4fb1c68
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      core/src/mercury/mod.rs

+ 1 - 1
core/src/mercury/mod.rs

@@ -51,7 +51,7 @@ impl MercuryManager {
         seq
     }
 
-    pub fn request(&self, req: MercuryRequest) -> MercuryFuture<MercuryResponse> {
+    fn request(&self, req: MercuryRequest) -> MercuryFuture<MercuryResponse> {
         let (tx, rx) = oneshot::channel();
 
         let pending = MercuryPending {