diff options
| author | Jubilee Young <workingjubilee@gmail.com> | 2021-04-21 21:40:29 -0700 |
|---|---|---|
| committer | Jubilee Young <workingjubilee@gmail.com> | 2021-04-21 22:39:08 -0700 |
| commit | e8eb691c1fccc84cf8cf2194b20f0cefafa10fa1 (patch) | |
| tree | 97d719bab82b78b88e06f5be5419f4aed8b1928b /compiler/rustc_index/src | |
| parent | b849326744a8eec939e592f0ab13bff85cc865d3 (diff) | |
Use arrayvec 0.7, drop smallvec 0.6
With the arrival of min const generics, many alt-vec libraries have updated to use it in some way and arrayvec is no exception. Use the latest with minor refactoring. Also, rustc_workspace_hack is the only user of smallvec 0.6 in the entire tree, so drop it.
Diffstat (limited to 'compiler/rustc_index/src')
| -rw-r--r-- | compiler/rustc_index/src/bit_set.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_index/src/bit_set.rs b/compiler/rustc_index/src/bit_set.rs index cfea5092bc3..d26ab1939e3 100644 --- a/compiler/rustc_index/src/bit_set.rs +++ b/compiler/rustc_index/src/bit_set.rs @@ -375,7 +375,7 @@ const SPARSE_MAX: usize = 8; #[derive(Clone, Debug)] pub struct SparseBitSet<T> { domain_size: usize, - elems: ArrayVec<[T; SPARSE_MAX]>, + elems: ArrayVec<T, SPARSE_MAX>, } impl<T: Idx> SparseBitSet<T> { |
