From b692318931a35df9a044313dfbc0a93e4327648c Mon Sep 17 00:00:00 2001 From: Anthony Ramine Date: Mon, 22 Jun 2020 15:10:10 +0200 Subject: [PATCH] Bump rust to 1.46.0-nightly (a8cf39911 2020-06-21) This fixes a rustfmt reporting bug when the code contains syntax errors. --- components/layout_2020/dom_traversal.rs | 2 +- rust-toolchain | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/layout_2020/dom_traversal.rs b/components/layout_2020/dom_traversal.rs index 99bf0804ce66..d5494a363bf0 100644 --- a/components/layout_2020/dom_traversal.rs +++ b/components/layout_2020/dom_traversal.rs @@ -512,7 +512,7 @@ where } fn unset_all_boxes(self) { - let mut data = self.layout_data_mut(); + let data = self.layout_data_mut(); *data.self_box.borrow_mut() = None; *data.pseudo_before_box.borrow_mut() = None; *data.pseudo_after_box.borrow_mut() = None; diff --git a/rust-toolchain b/rust-toolchain index 8737a7eb567a..38819f8f0939 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1 +1 @@ -nightly-2020-05-15 +nightly-2020-06-22