rustfmt
This commit is contained in:
parent
cbcc61a8cf
commit
ed195de8b6
15 changed files with 170 additions and 143 deletions
|
|
@ -178,7 +178,6 @@ impl Builder {
|
|||
text: step.text_pattern.clone(),
|
||||
state_id: 0,
|
||||
},
|
||||
|
||||
// Include the rule id so that it can be used when sorting transitions.
|
||||
item.rule_id,
|
||||
));
|
||||
|
|
@ -432,9 +431,8 @@ pub fn generate_property_sheets(repo_path: &Path) -> Result<()> {
|
|||
let property_sheet_json_path = src_dir_path
|
||||
.join(css_path.file_name().unwrap())
|
||||
.with_extension("json");
|
||||
let property_sheet_json_file = File::create(&property_sheet_json_path).map_err(|e|
|
||||
format!("Failed to create {:?}: {}", property_sheet_json_path, e)
|
||||
)?;
|
||||
let property_sheet_json_file = File::create(&property_sheet_json_path)
|
||||
.map_err(|e| format!("Failed to create {:?}: {}", property_sheet_json_path, e))?;
|
||||
let mut writer = BufWriter::new(property_sheet_json_file);
|
||||
serde_json::to_writer_pretty(&mut writer, &sheet)?;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue