Skip to content

Commit

Permalink
chore: fix some more doc
Browse files Browse the repository at this point in the history
  • Loading branch information
vidhanio committed Jan 12, 2024
1 parent c0b5486 commit 6803596
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hypertext/src/alloc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ where
/// r#"<ul id="shopping-list"><li>milks</li><li>eggs</li><li>bread</li></ul>"#
/// );
#[inline]
fn render_all(self) -> impl Render {
fn render_all(self) -> Renderable<impl FnOnce(&mut String)> {
Renderable(|output| {
self.into_iter().for_each(|item| {
item.render_to(output);
Expand Down

0 comments on commit 6803596

Please sign in to comment.