Commit Graph

4 Commits

Author SHA1 Message Date
bluss c110696a96 nodrop, nodrop-union: Mark deprecated
With the release of arrayvec 0.5, these crates are unused.

With the release of Rust 1.36 and MaybeUninit, these crates have no
purpose (but for older Rust releases).
2019-10-09 09:33:13 +02:00
bluss a91f077e8f nodrop-union: Update docs 2016-09-08 11:46:01 +02:00
bluss d4dfdea785 nodrop-union: Implement Copy, Clone on NoDrop<T>
Clone is not so important, but Copy is, since it's structural when
implemented, and adding the trait allows more versatile use of
NoDrop<T>.

Only the untagged unions version can implement Copy for NoDrop<T>, since
it truly has no destructor.
2016-09-08 11:46:01 +02:00
bluss 57348a2677 nodrop: Add nightly feature use_union
Use a separate crate (nodrop-union) so that we can conditionally use the
new union keyword without disrupting compatibility.
2016-09-06 11:41:47 +02:00