Przeglądaj źródła

core API: Session.weak()

awiouy 7 lat temu
rodzic
commit
ae85e69aca
1 zmienionych plików z 1 dodań i 1 usunięć
  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))
     }