chore: Fix refining_impl_trait lint occurences (#11979)
These show up when compiling Zed with latest nightly, which means that we'd have to do it one or two Rust releases down the line. Release Notes: - N/A
This commit is contained in:
parent
79098671e6
commit
9d10969906
5 changed files with 8 additions and 8 deletions
|
@ -2756,7 +2756,7 @@ impl ConversationEditor {
|
|||
impl EventEmitter<ConversationEditorEvent> for ConversationEditor {}
|
||||
|
||||
impl Render for ConversationEditor {
|
||||
fn render(&mut self, cx: &mut ViewContext<Self>) -> impl Element {
|
||||
fn render(&mut self, cx: &mut ViewContext<Self>) -> impl IntoElement {
|
||||
div()
|
||||
.key_context("ConversationEditor")
|
||||
.capture_action(cx.listener(ConversationEditor::cancel_last_assist))
|
||||
|
@ -2840,7 +2840,7 @@ struct InlineAssistant {
|
|||
impl EventEmitter<InlineAssistantEvent> for InlineAssistant {}
|
||||
|
||||
impl Render for InlineAssistant {
|
||||
fn render(&mut self, cx: &mut ViewContext<Self>) -> impl Element {
|
||||
fn render(&mut self, cx: &mut ViewContext<Self>) -> impl IntoElement {
|
||||
let measurements = *self.measurements.lock();
|
||||
h_flex()
|
||||
.w_full()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue