Jelajahi Sumber

core API: MercuryManager.request()

awiouy 7 tahun lalu
induk
melakukan
0ed4fb1c68
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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 {