diff --git a/tachys/src/html/islands.rs b/tachys/src/html/islands.rs index b719195f1..f858afca8 100644 --- a/tachys/src/html/islands.rs +++ b/tachys/src/html/islands.rs @@ -121,7 +121,10 @@ where fn to_html_async_with_buf( self, - buf: &mut StreamBuilder, position: &mut Position, escape: bool) where + buf: &mut StreamBuilder, + position: &mut Position, + escape: bool, + ) where Self: Sized, { // insert the opening tag synchronously @@ -244,7 +247,10 @@ where fn to_html_async_with_buf( self, - buf: &mut StreamBuilder, position: &mut Position, escape: bool) where + buf: &mut StreamBuilder, + position: &mut Position, + escape: bool, + ) where Self: Sized, { // insert the opening tag synchronously diff --git a/tachys/src/reactive_graph/guards.rs b/tachys/src/reactive_graph/guards.rs index 3d6350d93..0b0a3d409 100644 --- a/tachys/src/reactive_graph/guards.rs +++ b/tachys/src/reactive_graph/guards.rs @@ -46,7 +46,7 @@ macro_rules! render_primitive { R::insert_node(parent, self.0.as_ref(), marker); } - fn insert_before_this(&self, + fn insert_before_this(&self, child: &mut dyn Mountable, ) -> bool { child.mount(parent, Some(self.0.as_ref())); @@ -316,7 +316,7 @@ impl Mountable for ReadGuardStringState { R::insert_node(parent, self.node.as_ref(), marker); } - fn insert_before_this(&self, + fn insert_before_this(&self, child: &mut dyn Mountable, ) -> bool { child.mount(parent, Some(self.node.as_ref())); diff --git a/tachys/src/view/keyed.rs b/tachys/src/view/keyed.rs index 7fd49d2eb..bf5a65316 100644 --- a/tachys/src/view/keyed.rs +++ b/tachys/src/view/keyed.rs @@ -228,7 +228,10 @@ where fn to_html_async_with_buf( self, - buf: &mut StreamBuilder, position: &mut Position, escape: bool) { + buf: &mut StreamBuilder, + position: &mut Position, + escape: bool, + ) { for item in self.items.into_iter() { let item = (self.view_fn)(item); item.to_html_async_with_buf::(buf, position, escape);