We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba4d98c commit babae41Copy full SHA for babae41
src/array.rs
@@ -12,6 +12,15 @@
12
/// (a few in this range are included by default).
13
/// - `array-sizes-129-255`: All sizes 129 to 255 are implemented
14
15
+///
16
+/// ## Safety
17
18
+/// If implemented, this trait can only be implmented by fixed-size arrays or
19
+/// types with exactly the representation of a fixed size array (of the right
20
+/// element type and capacity).
21
22
+/// Normally this trait is an implementation detail of arrayvec and doesn't
23
+/// need implementing.
24
pub unsafe trait Array {
25
/// The array’s element type
26
type Item;
0 commit comments