mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Rustfmt some of script.
This commit is contained in:
parent
ceb72e54e4
commit
0c61be7a57
50 changed files with 1499 additions and 885 deletions
|
@ -21,13 +21,14 @@ pub struct Comment {
|
|||
impl Comment {
|
||||
fn new_inherited(text: DOMString, document: &Document) -> Comment {
|
||||
Comment {
|
||||
characterdata: CharacterData::new_inherited(text, document)
|
||||
characterdata: CharacterData::new_inherited(text, document),
|
||||
}
|
||||
}
|
||||
|
||||
pub fn new(text: DOMString, document: &Document) -> Root<Comment> {
|
||||
Node::reflect_node(box Comment::new_inherited(text, document),
|
||||
document, CommentBinding::Wrap)
|
||||
document,
|
||||
CommentBinding::Wrap)
|
||||
}
|
||||
|
||||
pub fn Constructor(global: GlobalRef, data: DOMString) -> Fallible<Root<Comment>> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue