diff --git a/components/script/dom/node.rs b/components/script/dom/node.rs index d13feb5193e..52591258387 100644 --- a/components/script/dom/node.rs +++ b/components/script/dom/node.rs @@ -1156,7 +1156,7 @@ impl Node { layout_data: LayoutDataRef::new(), - unique_id: DOMRefCell::new("".to_string()), + unique_id: DOMRefCell::new(String::new()), } }