Skip to content

Commit

Permalink
- Added EUR to PLN
Browse files Browse the repository at this point in the history
  • Loading branch information
jczaja committed Nov 25, 2024
1 parent 5343bc7 commit bb2b396
Show file tree
Hide file tree
Showing 3 changed files with 3,514 additions and 431 deletions.
3 changes: 2 additions & 1 deletion src/bin/gen_exchange_rates.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ fn main() {
let mut kursy_map: HashMap<Exchange, f64> = HashMap::new();

for file in file_paths {
let file_content = fs::read_to_string(&file).expect("Unable to read a file: {file}");
let file_content =
fs::read_to_string(&file).expect(&format!("Unable to read a file: {file}"));

// Deserializacja JSON do wektora struktur Kurs
let table: Tabela =
Expand Down
Loading

0 comments on commit bb2b396

Please sign in to comment.