forge
Explore
Log in

Don't you dare go Hollow

Fix building on stable

Browse files at this commit

6cd3f96a1085806b756db597cb40d2c17e64b7b0Ivan MolodetskikhParent: 1888696
src/layout/tile.rsmodified+3 -2
@@ -414,7 +414,7 @@ impl<W: LayoutElement> Tile<W> {
414 }414 }
415 }415 }
416 416
417- fn render_snapshot<C>(417+ fn render_snapshot<E, C>(
418 &self,418 &self,
419 renderer: &mut GlesRenderer,419 renderer: &mut GlesRenderer,
420 scale: Scale<f64>,420 scale: Scale<f64>,
@@ -422,7 +422,8 @@ impl<W: LayoutElement> Tile<W> {
422 contents: Vec<C>,422 contents: Vec<C>,
423 ) -> Vec<TileSnapshotRenderElement>423 ) -> Vec<TileSnapshotRenderElement>
424 where424 where
425- C: ToRenderElement<RenderElement: Into<TileSnapshotRenderElement>>,425+ E: Into<TileSnapshotRenderElement>,
426+ C: ToRenderElement<RenderElement = E>,
426 {427 {
427 let alpha = if self.is_fullscreen {428 let alpha = if self.is_fullscreen {
428 1.429 1.