Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
WLBF committed May 1, 2022
1 parent 363ae7f commit d1cd3d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ fn main() {
let file = File::open(args.path).expect("invalid config file path");
let reader = BufReader::new(file);
let list: Vec<rotate::Rotate> = match args.format {
Format::Yaml => serde_yaml::from_reader(reader).expect("json was not well-formatted"),
Format::Yaml => serde_yaml::from_reader(reader).expect("yaml was not well-formatted"),
Format::Json => serde_json::from_reader(reader).expect("json was not well-formatted"),
};

Expand Down

0 comments on commit d1cd3d2

Please sign in to comment.