mirror of
https://github.com/servo/servo.git
synced 2025-09-27 23:30:08 +01:00
cargo: Bump rustc to 1.89 (#36818)
Update Rustc to 1.89. Reviewable by commit. Leftover work: - #37330 - #38777 --------- Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> Co-authored-by: sagudev <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
parent
8587536755
commit
3225d19907
126 changed files with 408 additions and 610 deletions
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
||||
|
||||
use std::iter::repeat;
|
||||
use std::iter::repeat_n;
|
||||
use std::ptr;
|
||||
|
||||
use ipc_channel::ipc::IpcSender;
|
||||
|
@ -56,7 +56,7 @@ pub fn key_type_to_jsval(
|
|||
result.set(UndefinedValue());
|
||||
},
|
||||
IndexedDBKeyType::Array(a) => {
|
||||
rooted_vec!(let mut values <- repeat(UndefinedValue()).take(a.len()));
|
||||
rooted_vec!(let mut values <- repeat_n(UndefinedValue(), a.len()));
|
||||
for (key, value) in a.iter().zip(unsafe {
|
||||
values
|
||||
.iter_mut()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue