mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Auto merge of #19829 - servo:rustup, r=nox
Update Rust and use the newly-stable std::ptr::NonNull <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19829) <!-- Reviewable:end -->
This commit is contained in:
commit
c1ed4bb2d5
44 changed files with 137 additions and 177 deletions
|
@ -828,6 +828,8 @@ impl MallocSizeOf for RuleNode {
|
|||
}
|
||||
}
|
||||
|
||||
// FIXME: use std::ptr::NonNull when Firefox requires Rust 1.25+
|
||||
|
||||
#[derive(Clone)]
|
||||
struct WeakRuleNode {
|
||||
p: NonZeroPtrMut<RuleNode>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue