1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/// Allows the creation of a const array without specifying all elements.
///
/// ```
/// use macro_bits::incomplete_const_array;
///
/// incomplete_const_array! {
/// #[filler(0)] // Has to be first.
/// /// Just some array.
/// pub const ARRAY: [usize; 4] = [
/// 1 => 1337,
/// 3 => 42
/// ];
/// }
/// assert_eq!(ARRAY, [0, 1337, 0, 42]);
/// ```
;
};
}