mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Add for<'b> lifetime annotation (almost worked)
This commit is contained in:
@ -100,7 +100,7 @@ impl IcedUi {
|
|||||||
|
|
||||||
// TODO: produce root internally???
|
// TODO: produce root internally???
|
||||||
// TODO: see if this lifetime soup can be simplified
|
// TODO: see if this lifetime soup can be simplified
|
||||||
pub fn maintain<'a, 'b, M, E: Into<iced::Element<'a, M, FrameRenderer<'b>>>>(
|
pub fn maintain<'a, M, E: for<'b> Into<iced::Element<'a, M, FrameRenderer<'b>>>>(
|
||||||
&mut self,
|
&mut self,
|
||||||
root: E,
|
root: E,
|
||||||
renderer: &mut Renderer,
|
renderer: &mut Renderer,
|
||||||
|
Reference in New Issue
Block a user