diff options
| author | Ralf Jung <post@ralfj.de> | 2025-02-11 07:12:03 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-11 07:12:03 +0000 |
| commit | 2066d6ec8e428af6e0c27921e3bd43783cce1442 (patch) | |
| tree | cf146b0d08bc9aeb70bea78b869455a1c29be076 /compiler/rustc_data_structures/src/vec_cache | |
| parent | f22fd3684b16c38d97afc5cf4d8ffe3c6cf3f9d7 (diff) | |
| parent | e8cf1d201f51e9bae48bd682572cf61c303116d9 (diff) | |
| download | rust-2066d6ec8e428af6e0c27921e3bd43783cce1442.tar.gz rust-2066d6ec8e428af6e0c27921e3bd43783cce1442.zip | |
Merge pull request #4186 from rust-lang/rustup-2025-02-11
Automatic Rustup
Diffstat (limited to 'compiler/rustc_data_structures/src/vec_cache')
| -rw-r--r-- | compiler/rustc_data_structures/src/vec_cache/tests.rs | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/compiler/rustc_data_structures/src/vec_cache/tests.rs b/compiler/rustc_data_structures/src/vec_cache/tests.rs index a05f2741362..3b65c14162e 100644 --- a/compiler/rustc_data_structures/src/vec_cache/tests.rs +++ b/compiler/rustc_data_structures/src/vec_cache/tests.rs @@ -58,11 +58,14 @@ fn concurrent_stress_check() { #[test] fn slot_entries_table() { - assert_eq!(ENTRIES_BY_BUCKET, [ - 4096, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, - 8388608, 16777216, 33554432, 67108864, 134217728, 268435456, 536870912, 1073741824, - 2147483648 - ]); + assert_eq!( + ENTRIES_BY_BUCKET, + [ + 4096, 4096, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, + 4194304, 8388608, 16777216, 33554432, 67108864, 134217728, 268435456, 536870912, + 1073741824, 2147483648 + ] + ); } #[test] |
