Merge pull request #2343 from zed-industries/handles

Make typed handles wrappers around their untyped equivalents
This commit is contained in:
Nathan Sobo 2023-04-03 09:20:37 -04:00 committed by GitHub
commit cdfe873802
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
34 changed files with 253 additions and 342 deletions

View file

@ -5730,7 +5730,7 @@ impl Editor {
render: Arc::new({
let editor = rename_editor.clone();
move |cx: &mut BlockContext| {
ChildView::new(editor.clone(), cx)
ChildView::new(&editor, cx)
.contained()
.with_padding_left(cx.anchor_x)
.boxed()