Use Vec instead of ~[].

Version of rustc: 0.10-pre (fc7a112 2014-03-14 23:11:31 -0700)