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:
parent
a7458c099c
commit
fa1cd17a71
@ -100,7 +100,7 @@ impl IcedUi {
|
||||
|
||||
// TODO: produce root internally???
|
||||
// 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,
|
||||
root: E,
|
||||
renderer: &mut Renderer,
|
||||
|
Loading…
Reference in New Issue
Block a user