Skip to content

Commit

Permalink
~[] to Vec in script/dom/node.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
murphm8 authored and Ms2ger committed May 4, 2014
1 parent b88c84d commit 58bbe65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/script/dom/node.rs
Expand Up @@ -1141,7 +1141,7 @@ impl Node {

// Step 3.
let addedNodes = match node {
None => vec!(),
None => Vec::new(),
Some(ref node) => match node.type_id() {
DocumentFragmentNodeTypeId => node.children().collect(),
_ => vec!(node.clone()),
Expand Down

0 comments on commit 58bbe65

Please sign in to comment.