diff --git a/src/components/script/html/hubbub_html_parser.rs b/src/components/script/html/hubbub_html_parser.rs
index baacfcef52c..5f4184b5dea 100644
--- a/src/components/script/html/hubbub_html_parser.rs
+++ b/src/components/script/html/hubbub_html_parser.rs
@@ -369,7 +369,7 @@ pub fn parse_html(page: &Page,
}
},
create_element: |tag: Box| {
- debug!("create element {:?}", tag.name.clone());
+ debug!("create element {}", tag.name);
// NOTE: tmp vars are workaround for lifetime issues. Both required.
let tmp_borrow = doc_cell.borrow();
let tmp = &*tmp_borrow;