From ae85e69aca4ab5eedd3ebbf63164ad30c3202ec9 Mon Sep 17 00:00:00 2001 From: awiouy Date: Sat, 10 Feb 2018 10:10:26 +0100 Subject: [PATCH] core API: Session.weak() --- core/src/session.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/session.rs b/core/src/session.rs index 37a4aba0..4eecbe95 100644 --- a/core/src/session.rs +++ b/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)) }