Skip to content

Commit 93bbd82

Browse files
author
cht
committed
cargo fmt
1 parent 8ba68b5 commit 93bbd82

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/utils.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ pub fn start() -> Vec<Information> {
3535
Ok(output) => output,
3636
Err(_) => {
3737
if let Err(err) = create_json_file("[]".to_string()) {
38-
panic!("{}",err);
38+
panic!("{}", err);
3939
};
4040
"[]".to_string()
4141
}
4242
};
4343
let mut informations = Vec::new();
44-
let v: Value = serde_json::from_str(&messages.as_str()).unwrap();
44+
let v: Value = serde_json::from_str(messages.as_str()).unwrap();
4545
let mut index = 0;
4646
while v[index] != Value::Null {
4747
let the_url = v[index]["url"].to_string();

0 commit comments

Comments
 (0)