Browse Source

core API: Session.weak()

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