mirror of
https://github.com/servo/servo.git
synced 2025-08-02 20:20:14 +01:00
Add some FIXME comments about using ptr::NonNull
This commit is contained in:
parent
b78ac6ba6a
commit
4be3096040
3 changed files with 5 additions and 1 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