diff options
| author | Philipp Brüschweiler <blei42@gmail.com> | 2013-12-02 21:53:23 +0100 |
|---|---|---|
| committer | Philipp Brüschweiler <blei42@gmail.com> | 2013-12-02 21:53:23 +0100 |
| commit | 870fb7d75c3f7b0c18ae7402c387a272866c61a1 (patch) | |
| tree | 43a8c9f66f2a80c5601882599399797f6584e988 /src/rustllvm/RustWrapper.cpp | |
| parent | 61443dc1f5089df637edba83587b9f3020063266 (diff) | |
| download | rust-870fb7d75c3f7b0c18ae7402c387a272866c61a1.tar.gz rust-870fb7d75c3f7b0c18ae7402c387a272866c61a1.zip | |
c_vec: Modernize
Generally use more modern constructs (such as using `CVec::new()` as constructor and move to more method usage). Potentially controversial changes: * change `get()` to return a reference instead of cloning * remove `set()`, add `get_mut()` instead * add an `unwrap()` method that destroys the CVec without running any associated destructor
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
