Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions src/libcore/array.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,29 @@ array_impls! {
10 11 12 13 14 15 16 17 18 19
20 21 22 23 24 25 26 27 28 29
30 31 32
64 128 256 512 1024
2 * 1024
4 * 1024
8 * 1024
16 * 1024
32 * 1024
64 * 1024
128 * 1024
256 * 1024
512 * 1024
1024 * 1024
2 * 1024 * 1024
4 * 1024 * 1024
8 * 1024 * 1024
16 * 1024 * 1024
32 * 1024 * 1024
64 * 1024 * 1024
128 * 1024 * 1024
256 * 1024 * 1024
512 * 1024 * 1024
1024 * 1024 * 1024
100 1_000 10_000 100_000 1_000_000
10_000_000 100_000_000 1_000_000_000
}

// The Default impls cannot be generated using the array_impls! macro because
Expand Down