script: Use String::new() instead of the formatting infrastructure

when constructing DOM unique IDs.

This was showing up in the RoboHornet profile.
This commit is contained in:
Patrick Walton 2014-10-28 11:16:20 -07:00
parent 6f577c7c84
commit e034c1cee2

View file

@ -1156,7 +1156,7 @@ impl Node {
layout_data: LayoutDataRef::new(),
unique_id: DOMRefCell::new("".to_string()),
unique_id: DOMRefCell::new(String::new()),
}
}