From b3742b779c6a6b742868c1eb477f187f3a388a90 Mon Sep 17 00:00:00 2001 From: Josh Matthews Date: Fri, 1 Apr 2022 01:44:27 -0400 Subject: [PATCH] fixup! Update arrayvec. --- components/style/properties/properties.mako.rs | 3 ++- components/webgpu/lib.rs | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/components/style/properties/properties.mako.rs b/components/style/properties/properties.mako.rs index f24d9b91f39..f4d303f9eb8 100644 --- a/components/style/properties/properties.mako.rs +++ b/components/style/properties/properties.mako.rs @@ -2534,7 +2534,8 @@ impl PropertyDeclaration { } } -type SubpropertiesVec = ArrayVec = ArrayVec; /// A stack-allocated vector of `PropertyDeclaration` diff --git a/components/webgpu/lib.rs b/components/webgpu/lib.rs index 1103920cb8f..2e510a6c6ec 100644 --- a/components/webgpu/lib.rs +++ b/components/webgpu/lib.rs @@ -755,10 +755,12 @@ impl<'a> WGPU<'a> { size: Size2D::new(width, height), unassigned_buffer_ids: buffer_ids, available_buffer_ids: ArrayVec::< - id::BufferId, PRESENTATION_BUFFER_COUNT, + id::BufferId, + PRESENTATION_BUFFER_COUNT, >::new(), queued_buffer_ids: ArrayVec::< - id::BufferId, PRESENTATION_BUFFER_COUNT, + id::BufferId, + PRESENTATION_BUFFER_COUNT, >::new(), buffer_stride, image_key,