Skip to content

Commit e2f76cf

Browse files
committed
fix formatting
1 parent 249fee7 commit e2f76cf

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/bin/main.rs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
use std::fs::File;
22
use std::path::PathBuf;
33

4+
use anyhow::Error;
45
use clap::Parser;
56
use serde::Serialize;
6-
use anyhow::Error;
77

88
/// Compare old and new schema, and print differences
99
#[derive(Parser)]
@@ -19,8 +19,7 @@ struct Args {
1919
struct Change {
2020
#[serde(flatten)]
2121
inner: json_schema_diff::Change,
22-
is_breaking: bool
23-
22+
is_breaking: bool,
2423
}
2524

2625
fn main() -> Result<(), Error> {
@@ -33,7 +32,10 @@ fn main() -> Result<(), Error> {
3332

3433
for change in changes {
3534
let is_breaking = change.change.is_breaking();
36-
let change = Change { inner: change, is_breaking };
35+
let change = Change {
36+
inner: change,
37+
is_breaking,
38+
};
3739
println!("{}", serde_json::to_string(&change)?);
3840
}
3941
Ok(())

0 commit comments

Comments
 (0)