Add navigation deduping

Co-authored-by: Antonio Scandurra <me@as-cii.com>
This commit is contained in:
Keith Simmons 2022-03-23 11:32:18 -07:00
parent 5cd94b5b92
commit e36104f30d
2 changed files with 47 additions and 1 deletions

View file

@ -5060,7 +5060,7 @@ impl Editor {
cx.notify();
}
fn transact(
pub fn transact(
&mut self,
cx: &mut ViewContext<Self>,
update: impl FnOnce(&mut Self, &mut ViewContext<Self>),