mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Rename JS<T> to Dom<T>
This commit is contained in:
parent
0e3c54c191
commit
7be32fb237
96 changed files with 494 additions and 494 deletions
|
@ -7,13 +7,13 @@
|
|||
|
||||
extern crate script;
|
||||
|
||||
use script::test::Dom;
|
||||
use script::test::DOMRefCell;
|
||||
use script::test::JS;
|
||||
use script::test::Node;
|
||||
|
||||
struct Foo {
|
||||
bar: DOMRefCell<JS<Node>>
|
||||
//~^ ERROR Banned type DOMRefCell<JS<T>> detected. Use MutJS<T> instead
|
||||
bar: DOMRefCell<Dom<Node>>
|
||||
//~^ ERROR Banned type DOMRefCell<Dom<T>> detected. Use MutJS<T> instead
|
||||
}
|
||||
|
||||
fn main() {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue