Skip to content

Instantly share code, notes, and snippets.

@jld
Created January 8, 2013 09:13
Show Gist options
  • Save jld/4482393 to your computer and use it in GitHub Desktop.
Save jld/4482393 to your computer and use it in GitHub Desktop.
In which the vec library has a bad day.
fn main() {
let v : ~[[i8 * 0]] = ~[];
io::println(fmt!("%?", v.len()));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment