We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ba68b5 commit 93bbd82Copy full SHA for 93bbd82
1 file changed
src/utils.rs
@@ -35,13 +35,13 @@ pub fn start() -> Vec<Information> {
35
Ok(output) => output,
36
Err(_) => {
37
if let Err(err) = create_json_file("[]".to_string()) {
38
- panic!("{}",err);
+ panic!("{}", err);
39
};
40
"[]".to_string()
41
}
42
43
let mut informations = Vec::new();
44
- let v: Value = serde_json::from_str(&messages.as_str()).unwrap();
+ let v: Value = serde_json::from_str(messages.as_str()).unwrap();
45
let mut index = 0;
46
while v[index] != Value::Null {
47
let the_url = v[index]["url"].to_string();
0 commit comments