Make Context.cb field private (no code changes)

This commit is contained in:
Dmitry Bogatov
2019-09-18 14:35:49 +02:00
committed by holger krekel
parent 3bd36feede
commit 7bb4a27b60
+1 -1
View File
@@ -50,7 +50,7 @@ pub struct Context {
pub smtp_state: Arc<(Mutex<SmtpState>, Condvar)>,
pub oauth2_critical: Arc<Mutex<()>>,
#[debug_stub = "Callback"]
pub cb: Box<ContextCallback>,
cb: Box<ContextCallback>,
pub os_name: Option<String>,
pub cmdline_sel_chat_id: Arc<RwLock<u32>>,
pub bob: Arc<RwLock<BobStatus>>,