| { | ||
| "git": { | ||
| "sha1": "2316b85fbce3dc5380ec07f9ae8feb31a2baf82a" | ||
| "sha1": "21661facf8f5d65b4bd6701e48d218eb957314fa" | ||
| } | ||
| } |
+1
-1
@@ -15,3 +15,3 @@ # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO | ||
| name = "arrayvec" | ||
| version = "0.4.9" | ||
| version = "0.4.10" | ||
| authors = ["bluss"] | ||
@@ -18,0 +18,0 @@ description = "A vector with fixed capacity, backed by an array (it can be stored on the stack too). Implements fixed capacity ArrayVec and ArrayString." |
+5
-0
@@ -25,2 +25,7 @@ | ||
| - 0.4.10 | ||
| - Use ``repr(C)`` in the ``union`` version that was introduced in 0.4.9, to | ||
| allay some soundness concerns. | ||
| - 0.4.9 | ||
@@ -27,0 +32,0 @@ |
@@ -9,3 +9,3 @@ | ||
| /// it also has no drop regardless of the type of T. | ||
| #[derive(Copy)] | ||
| #[repr(C)] // for cast from self ptr to value | ||
| pub union MaybeUninit<T> { | ||
@@ -17,7 +17,2 @@ empty: (), | ||
| impl<T> Clone for MaybeUninit<T> where T: Copy | ||
| { | ||
| fn clone(&self) -> Self { *self } | ||
| } | ||
| impl<T> MaybeUninit<T> { | ||
@@ -24,0 +19,0 @@ /// Create a new MaybeUninit with uninitialized interior |
Sorry, the diff of this file is not supported yet