mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Update arrayvec.
This commit is contained in:
parent
72fd95f613
commit
a7c87af9ca
8 changed files with 21 additions and 20 deletions
|
@ -69,7 +69,7 @@ pub const WORK_UNIT_MAX: usize = 16;
|
|||
|
||||
/// A set of nodes, sized to the work unit. This gets copied when sent to other
|
||||
/// threads, so we keep it compact.
|
||||
type WorkUnit<N> = ArrayVec<[SendNode<N>; WORK_UNIT_MAX]>;
|
||||
type WorkUnit<N> = ArrayVec<SendNode<N>, WORK_UNIT_MAX>;
|
||||
|
||||
/// A callback to create our thread local context. This needs to be
|
||||
/// out of line so we don't allocate stack space for the entire struct
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue