浏览代码

core API: MercuryManager.request()

awiouy 7 年之前
父节点
当前提交
0ed4fb1c68
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 {