Procházet zdrojové kódy

core API: MercuryManager.request()

awiouy před 7 roky
rodič
revize
0ed4fb1c68
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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 {