possibly unnessessary borrow muts removed
This commit is contained in:
parent
e49db66883
commit
b0db4805a8
|
@ -142,7 +142,7 @@ impl Handler {
|
|||
let handler_msg_clone = handler.clone();
|
||||
greeter.connect_show_message(move |_, msg, _| {
|
||||
handler_msg_clone
|
||||
.borrow_mut()
|
||||
.borrow()
|
||||
.msg_label
|
||||
.as_ref()
|
||||
.expect("no msg label")
|
||||
|
@ -151,7 +151,7 @@ impl Handler {
|
|||
let handler_prmpt_clone = handler.clone();
|
||||
greeter.connect_show_prompt(move |_, msg, _| {
|
||||
handler_prmpt_clone
|
||||
.borrow_mut()
|
||||
.borrow()
|
||||
.pmpt_label
|
||||
.as_ref()
|
||||
.expect("no msg label")
|
||||
|
|
Loading…
Reference in New Issue