mirror of
https://github.com/servo/servo.git
synced 2025-08-02 20:20:14 +01:00
Update arrayvec.
This commit is contained in:
parent
72fd95f613
commit
a7c87af9ca
8 changed files with 21 additions and 20 deletions
|
@ -32,7 +32,7 @@ serde_json = "1.0"
|
|||
[dependencies]
|
||||
accountable-refcell = { version = "0.2.0", optional = true }
|
||||
app_units = "0.7"
|
||||
arrayvec = "0.5.1"
|
||||
arrayvec = "0.7"
|
||||
backtrace = "0.3"
|
||||
base64 = "0.10.1"
|
||||
bitflags = "1.0"
|
||||
|
|
|
@ -135,7 +135,7 @@ impl GPUCanvasContextMethods for GPUCanvasContext {
|
|||
}
|
||||
*self.swap_chain.borrow_mut() = None;
|
||||
|
||||
let mut buffer_ids = ArrayVec::<[id::BufferId; PRESENTATION_BUFFER_COUNT]>::new();
|
||||
let mut buffer_ids = ArrayVec::<id::BufferId, PRESENTATION_BUFFER_COUNT>::new();
|
||||
for _ in 0..PRESENTATION_BUFFER_COUNT {
|
||||
buffer_ids.push(
|
||||
self.global()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue