make more of core private

This commit is contained in:
Evan Almloff committed 2023-07-26 16:17:48 -07:00
1 parent 6e80f15d6a
commit 2d51a1c4f2
5 files changed
+80 -30

No files matched your search

+5 -6
View File
@@ -217,13 +217,12 @@ fn create_random_dynamic_attr(cx: &ScopeState) -> Attribute {
// Listener(RefCell<Option<ListenerCb<'a>>>),
_ => unreachable!(),
};
Attribute {
name: Box::leak(format!("attr{}", rand::random::<usize>()).into_boxed_str()),
Attribute::new(
Box::leak(format!("attr{}", rand::random::<usize>()).into_boxed_str()),
value,
namespace: random_ns(),
mounted_element: Default::default(),
volatile: rand::random(),
}
random_ns(),
rand::random(),
)
}
static mut TEMPLATE_COUNT: usize = 0;