Skip to content

Commit

Permalink
Fix ToString trait.
Browse files Browse the repository at this point in the history
  • Loading branch information
langyo committed Aug 10, 2024
1 parent f06042e commit 0a7fcd3
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
26 changes: 25 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/yew/src/html/classes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ impl ToString for Classes {
iter.next()
.map(|first| build_attr_value(first, iter))
.unwrap_or_default()
.fmt(f)
.to_string()
}
}

Expand Down

0 comments on commit 0a7fcd3

Please sign in to comment.