add a lifetime to the properties trait and make the manual spread example work

This commit is contained in:
Evan Almloff committed 2023-09-20 16:15:11 -05:00
1 parent fc8c25280a
commit fa494349fe
7 files changed
+220 -198

No files matched your search

+1 -1
View File
@@ -91,7 +91,7 @@ impl<'a, const A: bool> FragmentBuilder<'a, A> {
/// })
/// }
/// ```
impl<'a> Properties for FragmentProps<'a> {
impl<'a> Properties<'_> for FragmentProps<'a> {
type Builder = FragmentBuilder<'a, false>;
const IS_STATIC: bool = false;
fn builder(_cx: &ScopeState) -> Self::Builder {