Skip to content
Permalink
Browse files

~[] to Vec in script/html/hubbub_html_parser.rs

  • Loading branch information...
murphm8 authored and Ms2ger committed Apr 27, 2014
1 parent 093e9fd commit dccea25a8acc85986534ec57cb6486c078925b27
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/components/script/html/hubbub_html_parser.rs
@@ -106,7 +106,7 @@ spawned, collates them, and sends them to the given result channel.
*/
fn css_link_listener(to_parent: Sender<HtmlDiscoveryMessage>,
from_parent: Receiver<CSSMessage>) {
let mut result_vec = vec!();
let mut result_vec = Vec::new();

loop {
match from_parent.recv_opt() {
@@ -129,7 +129,7 @@ fn css_link_listener(to_parent: Sender<HtmlDiscoveryMessage>,
fn js_script_listener(to_parent: Sender<HtmlDiscoveryMessage>,
from_parent: Receiver<JSMessage>,
resource_task: ResourceTask) {
let mut result_vec = vec!();
let mut result_vec = Vec::new();

loop {
match from_parent.recv_opt() {

0 comments on commit dccea25

Please sign in to comment.
You can’t perform that action at this time.