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();
|
let handler_msg_clone = handler.clone();
|
||||||
greeter.connect_show_message(move |_, msg, _| {
|
greeter.connect_show_message(move |_, msg, _| {
|
||||||
handler_msg_clone
|
handler_msg_clone
|
||||||
.borrow_mut()
|
.borrow()
|
||||||
.msg_label
|
.msg_label
|
||||||
.as_ref()
|
.as_ref()
|
||||||
.expect("no msg label")
|
.expect("no msg label")
|
||||||
|
@ -151,7 +151,7 @@ impl Handler {
|
||||||
let handler_prmpt_clone = handler.clone();
|
let handler_prmpt_clone = handler.clone();
|
||||||
greeter.connect_show_prompt(move |_, msg, _| {
|
greeter.connect_show_prompt(move |_, msg, _| {
|
||||||
handler_prmpt_clone
|
handler_prmpt_clone
|
||||||
.borrow_mut()
|
.borrow()
|
||||||
.pmpt_label
|
.pmpt_label
|
||||||
.as_ref()
|
.as_ref()
|
||||||
.expect("no msg label")
|
.expect("no msg label")
|
||||||
|
|
Loading…
Reference in New Issue