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
|
@ -440,8 +440,8 @@ impl PlatformInput {
|
|||
mod test {
|
||||
|
||||
use crate::{
|
||||
self as gpui, div, Element, FocusHandle, InteractiveElement, IntoElement, KeyBinding,
|
||||
Keystroke, ParentElement, Render, TestAppContext, VisualContext,
|
||||
self as gpui, div, FocusHandle, InteractiveElement, IntoElement, KeyBinding, Keystroke,
|
||||
ParentElement, Render, TestAppContext, VisualContext,
|
||||
};
|
||||
|
||||
struct TestView {
|
||||
|
@ -453,7 +453,7 @@ mod test {
|
|||
actions!(test, [TestAction]);
|
||||
|
||||
impl Render for TestView {
|
||||
fn render(&mut self, cx: &mut gpui::ViewContext<Self>) -> impl Element {
|
||||
fn render(&mut self, cx: &mut gpui::ViewContext<Self>) -> impl IntoElement {
|
||||
div().id("testview").child(
|
||||
div()
|
||||
.key_context("parent")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue