mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-24 17:28:40 +00:00
Clean up construction of FeedbackEditor
This commit is contained in:
parent
7f3d937938
commit
328b779185
1 changed files with 1 additions and 2 deletions
|
@ -113,8 +113,7 @@ impl FeedbackEditor {
|
|||
cx.subscribe(&editor, |_, _, e, cx| cx.emit(e.clone()))
|
||||
.detach();
|
||||
|
||||
let this = Self { editor, project };
|
||||
this
|
||||
Self { editor, project }
|
||||
}
|
||||
|
||||
fn new(project: ModelHandle<Project>, cx: &mut ViewContext<Self>) -> Self {
|
||||
|
|
Loading…
Reference in a new issue