]> git.lizzy.rs Git - rust.git/commit
syntax: add the OwnedSlice vector wrapper.
authorHuon Wilson <dbau.pp+github@gmail.com>
Wed, 19 Mar 2014 14:51:08 +0000 (01:51 +1100)
committerHuon Wilson <dbau.pp+github@gmail.com>
Fri, 21 Mar 2014 14:36:46 +0000 (01:36 +1100)
commit0384952a657e49d1f1cbab7c21dee91cd2c4f585
treea35f30b02fabb1ccfb806be98a349486034571ef
parent7785fe191651fb42a6300a399d61414bf49dffb3
syntax: add the OwnedSlice vector wrapper.

This is a stand-in until we have a saner `~[T]` type (i.e. a proper
owned slice). It's a library version of what `~[T]` will be, i.e. an
owned pointer and a length.
src/libsyntax/lib.rs
src/libsyntax/owned_slice.rs [new file with mode: 0644]