Browse Source

core API: MercuryManager.request()

awiouy 7 năm trước cách đây
mục cha
commit
0ed4fb1c68
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 {