mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 06:44:17 +00:00
chore: cargo fmt
This commit is contained in:
parent
598c59b9c2
commit
081f4ec550
3 changed files with 14 additions and 5 deletions
|
@ -121,7 +121,10 @@ where
|
|||
|
||||
fn to_html_async_with_buf<const OUT_OF_ORDER: bool>(
|
||||
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<const OUT_OF_ORDER: bool>(
|
||||
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
|
||||
|
|
|
@ -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<R>,
|
||||
) -> bool {
|
||||
child.mount(parent, Some(self.0.as_ref()));
|
||||
|
@ -316,7 +316,7 @@ impl<R: Renderer> Mountable<R> for ReadGuardStringState<R> {
|
|||
R::insert_node(parent, self.node.as_ref(), marker);
|
||||
}
|
||||
|
||||
fn insert_before_this(&self,
|
||||
fn insert_before_this(&self,
|
||||
child: &mut dyn Mountable<R>,
|
||||
) -> bool {
|
||||
child.mount(parent, Some(self.node.as_ref()));
|
||||
|
|
|
@ -228,7 +228,10 @@ where
|
|||
|
||||
fn to_html_async_with_buf<const OUT_OF_ORDER: bool>(
|
||||
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::<OUT_OF_ORDER>(buf, position, escape);
|
||||
|
|
Loading…
Reference in a new issue