diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2014-03-19 23:16:56 +1100 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2014-03-21 10:52:48 +1100 |
| commit | 7785fe191651fb42a6300a399d61414bf49dffb3 (patch) | |
| tree | 1d58655556eac689f63b20f5944dd7e806d50de4 /src/test/codegen/stack-alloc-string-slice.rs | |
| parent | 7334c11b4b196e39da2418a239e2ff916896fa19 (diff) | |
| download | rust-7785fe191651fb42a6300a399d61414bf49dffb3.tar.gz rust-7785fe191651fb42a6300a399d61414bf49dffb3.zip | |
syntax: make OptVec immutable.
This is the first step to replacing OptVec with a new representation: remove all mutability. Any mutations have to go via `Vec` and then make to `OptVec`. Many of the uses of OptVec are unnecessary now that Vec has no-alloc emptiness (and have been converted to Vec): the only ones that really need it are the AST and sty's (and so on) where there are a *lot* of instances of them, and they're (mostly) immutable.
Diffstat (limited to 'src/test/codegen/stack-alloc-string-slice.rs')
0 files changed, 0 insertions, 0 deletions
