From d1cd3d2b2cc8f0c6b22ae2a9b04e1e461a38d5e5 Mon Sep 17 00:00:00 2001 From: WLBF Date: Sun, 1 May 2022 23:14:53 +0800 Subject: [PATCH] fix typo --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index b61fa7e..2c9d494 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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 = 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"), };