Replace app/app_mut on contexts with AsRef/AsMut impls
Co-Authored-By: Brooks Swinnerton <934497+bswinnerton@users.noreply.github.com>
This commit is contained in:
co-authored by
Brooks Swinnerton
parent
7469240a2e
commit
0a2d2aa684
@@ -710,7 +710,7 @@ mod test {
|
||||
let file_id = entry.entry_id;
|
||||
|
||||
tree.update(&mut app, |tree, ctx| {
|
||||
smol::block_on(tree.save(file_id, buffer.snapshot(), ctx.app())).unwrap()
|
||||
smol::block_on(tree.save(file_id, buffer.snapshot(), ctx.as_ref())).unwrap()
|
||||
});
|
||||
|
||||
let history = app
|
||||
|
||||
Reference in New Issue
Block a user