Clean up construction of FeedbackEditor

Joseph Lyons created

Change summary

crates/feedback/src/feedback_editor.rs | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

Detailed changes

crates/feedback/src/feedback_editor.rs 🔗

@@ -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 {