mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
style: Port the style crate to rust 2018.
Differential Revision: https://phabricator.services.mozilla.com/D80101
This commit is contained in:
parent
9b980e2f49
commit
8f215a8444
9 changed files with 18 additions and 14 deletions
|
@ -318,7 +318,7 @@ fn generate_structs() {
|
|||
|
||||
fixups.push(Fixup {
|
||||
pat: format!("\\broot\\s*::\\s*{}\\b", gecko),
|
||||
rep: format!("::gecko_bindings::structs::{}", gecko_name),
|
||||
rep: format!("crate::gecko_bindings::structs::{}", gecko_name),
|
||||
});
|
||||
builder.blacklist_type(gecko).raw_line(format!(
|
||||
"pub type {0}{2} = {1}{2};",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue