mirror of
https://github.com/servo/servo.git
synced 2025-09-29 16:19:14 +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
|
@ -543,7 +543,7 @@ pub(crate) fn notify_about_rejected_promises(global: &GlobalScope) {
|
|||
let cx = GlobalScope::get_cx();
|
||||
unsafe {
|
||||
// Step 2.
|
||||
if global.get_uncaught_rejections().borrow().len() > 0 {
|
||||
if !global.get_uncaught_rejections().borrow().is_empty() {
|
||||
// Step 1.
|
||||
let uncaught_rejections: Vec<TrustedPromise> = global
|
||||
.get_uncaught_rejections()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue