]> git.lizzy.rs Git - rust.git/commit
Made the `ptr::Unique` type accept unsized types, to allow for use cases
authorMarvin Löbel <loebel.marvin@gmail.com>
Tue, 10 Feb 2015 13:37:44 +0000 (14:37 +0100)
committerMarvin Löbel <loebel.marvin@gmail.com>
Tue, 10 Feb 2015 13:37:44 +0000 (14:37 +0100)
commit792dc8d067d1f11e08e859ccdd45d59436773fc9
treebec484d643168d295396b11fbdad73d6d80c8826
parentde8bc44753881aacdaf435f5ba61de3c20916761
Made the `ptr::Unique` type accept unsized types, to allow for use cases
like sending a raw pointer slice across thread boundaries.
src/libcore/ptr.rs
src/libcoretest/ptr.rs