mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Rename MutJS<T> to MutDom<T>
This commit is contained in:
parent
7be32fb237
commit
d29335040d
12 changed files with 45 additions and 45 deletions
|
@ -13,7 +13,7 @@ use std::cell::UnsafeCell;
|
|||
|
||||
struct Foo {
|
||||
bar: Cell<JSVal>,
|
||||
//~^ ERROR Banned type Cell<JSVal> detected. Use MutJS<JSVal> instead
|
||||
//~^ ERROR Banned type Cell<JSVal> detected. Use MutDom<JSVal> instead
|
||||
foo: UnsafeCell<JSVal>
|
||||
//~^ NOT AN ERROR
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue