chore: cargo fmt

This commit is contained in:
Greg Johnston 2024-06-25 20:42:34 -04:00
parent 598c59b9c2
commit 081f4ec550
3 changed files with 14 additions and 5 deletions

View file

@ -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

View file

@ -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);