]> git.lizzy.rs Git - rust.git/commit
auto merge of #10736 : Blei/rust/fix_c_vec, r=alexcrichton
authorbors <bors@rust-lang.org>
Tue, 3 Dec 2013 00:06:40 +0000 (16:06 -0800)
committerbors <bors@rust-lang.org>
Tue, 3 Dec 2013 00:06:40 +0000 (16:06 -0800)
commit0e66baf0133521f326b8b5e530e3a51fbe7b4264
treef74825ea514ba504d8a750bf561ba4e33ef386f8
parentc8b60a2d9e4cbd782e5076e90d4acd458e4f635d
parent870fb7d75c3f7b0c18ae7402c387a272866c61a1
auto merge of #10736 : Blei/rust/fix_c_vec, r=alexcrichton

Controversial change: make the constructors safe, but instead mark the
setters and getters as unsafe. This follows the tradition that construction
of *T is safe, but the access is unsafe instead.