Rename DOMRefCell<T> to DomRefCell<T>

I don't want to do such a gratuitous rename, but with all the other types
now having "Dom" as part of their name, and especially with "DomOnceCell",
I feel like the other cell type that we already have should also follow
the convention. That argument loses weight though when we realise there
is still DOMString and other things.
This commit is contained in:
Anthony Ramine 2017-09-26 01:32:40 +02:00
parent 9a7ba89c84
commit 577370746e
85 changed files with 436 additions and 436 deletions

View file

@ -8,12 +8,12 @@
extern crate script;
use script::test::Dom;
use script::test::DOMRefCell;
use script::test::DomRefCell;
use script::test::Node;
struct Foo {
bar: DOMRefCell<Dom<Node>>
//~^ ERROR Banned type DOMRefCell<Dom<T>> detected. Use MutDom<T> instead
bar: DomRefCell<Dom<Node>>
//~^ ERROR Banned type DomRefCell<Dom<T>> detected. Use MutDom<T> instead
}
fn main() {}