Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
talhahwahla committed Nov 23, 2023
1 parent 374ca8a commit 0e5d485
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ipinfo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ impl IpInfo {
fs::File::open(config.continents_file_path.as_ref().unwrap())
.expect("error opening file");
ipinfo_obj.continents =
serde_json::from_reader(t_file).expect("error parsing JSON!");
serde_json::from_reader(t_file).expect("error parsing JSON!");
}

Ok(ipinfo_obj)
Expand Down

0 comments on commit 0e5d485

Please sign in to comment.