remove extra scopes

This commit is contained in:
yggverse 2025-02-06 18:40:03 +02:00
parent ffb6929bec
commit 584d85d434

View file

@ -50,9 +50,10 @@ impl Text for gtk::Box {
form.buffer().connect_changed({
let control = control.clone();
move |this| {
control.update(this.char_count(), {
this.text(&this.start_iter(), &this.end_iter(), true).len()
})
control.update(
this.char_count(),
this.text(&this.start_iter(), &this.end_iter(), true).len(),
)
}
});