mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Format style component.
This commit is contained in:
parent
31fc6cd565
commit
8dab4d659a
120 changed files with 2207 additions and 1417 deletions
|
@ -322,13 +322,11 @@ mod bindings {
|
|||
.expect(&format!(
|
||||
"Unrecognized line in ServoArcTypeList.h: '{}'",
|
||||
line
|
||||
))
|
||||
.get(1)
|
||||
)).get(1)
|
||||
.unwrap()
|
||||
.as_str()
|
||||
.to_string()
|
||||
})
|
||||
.collect()
|
||||
}).collect()
|
||||
}
|
||||
|
||||
struct BuilderWithConfig<'a> {
|
||||
|
@ -436,8 +434,7 @@ mod bindings {
|
|||
servo,
|
||||
if generic { "<T>" } else { "" }
|
||||
))
|
||||
})
|
||||
.get_builder();
|
||||
}).get_builder();
|
||||
write_binding_file(builder, STRUCTS_FILE, &fixups);
|
||||
}
|
||||
|
||||
|
@ -553,8 +550,7 @@ mod bindings {
|
|||
.raw_line(format!(
|
||||
"pub type {0}Strong = ::gecko_bindings::sugar::ownership::Strong<{0}>;",
|
||||
ty
|
||||
))
|
||||
.borrowed_type(ty)
|
||||
)).borrowed_type(ty)
|
||||
.zero_size_type(ty, &structs_types);
|
||||
}
|
||||
write_binding_file(builder, BINDINGS_FILE, &fixups);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue