diff options
author | Matt Murphy <matthew.john.murphy@gmail.com> | 2014-04-27 15:59:52 -0500 |
---|---|---|
committer | Ms2ger <ms2ger@gmail.com> | 2014-05-04 23:16:17 +0200 |
commit | 428ea04fb552c2e74a1d3155f40b584ef868697c (patch) | |
tree | d31a41b7661a4688de2039a1f462a165f6d72b4a /src/components/script | |
parent | e107d0f01515864387adbb8102e706aa0c2b6173 (diff) | |
download | servo-428ea04fb552c2e74a1d3155f40b584ef868697c.tar.gz servo-428ea04fb552c2e74a1d3155f40b584ef868697c.zip |
~[] to Vec in script/script_task.rs
Diffstat (limited to 'src/components/script')
-rw-r--r-- | src/components/script/script_task.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/script/script_task.rs b/src/components/script/script_task.rs index 331de50c872..19729d01909 100644 --- a/src/components/script/script_task.rs +++ b/src/components/script/script_task.rs @@ -1133,7 +1133,7 @@ impl ScriptTask { match page.get_nodes_under_mouse(&point) { Some(node_address) => { - let mut target_list = vec!(); + let mut target_list: Vec<JS<Node>> = Vec::new(); let mut target_compare = false; let mouse_over_targets = &mut *self.mouse_over_targets.borrow_mut(); |