mirror of
https://github.com/zed-industries/zed.git
synced 2026-12-04 10:43:21 +01:00
gpui: Remove a test IntoElement impl that main now provides
This commit is contained in:
1 parent
764eedfb8a
commit
51a26e8f9f
1 file changed
-8
@@ -1180,14 +1180,6 @@ mod tests {
|
||||
/// by it.
|
||||
struct MeasuredLeaf(Size<Pixels>);
|
||||
|
||||
impl IntoElement for MeasuredLeaf {
|
||||
type Element = Self;
|
||||
|
||||
fn into_element(self) -> Self {
|
||||
self
|
||||
}
|
||||
}
|
||||
|
||||
impl Element for MeasuredLeaf {
|
||||
type RequestLayoutState = ();
|
||||
type PrepaintState = ();
|
||||
|
||||
Reference in new issue
Block a user