浏览代码

core API: Session.weak()

awiouy 7 年之前
父节点
当前提交
ae85e69aca
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/src/session.rs

+ 1 - 1
core/src/session.rs

@@ -200,7 +200,7 @@ impl Session {
         &self.config().device_id
     }
 
-    pub fn weak(&self) -> SessionWeak {
+    fn weak(&self) -> SessionWeak {
         SessionWeak(Arc::downgrade(&self.0))
     }