imports: policy_data_count as required variable
* function call will gain access Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
This commit is contained in:
@@ -20,7 +20,9 @@ use crate::data::structures::{PolicyCode, PolicyDataList, PolicyData};
|
||||
/// https://docs.rs/csv/1.1.3/csv/cookbook/index.html
|
||||
/// https://blog.burntsushi.net/csv/
|
||||
pub fn import(p: &mut String, data_list: &mut PolicyDataList,
|
||||
policy_numbers: &mut HashMap<usize, PolicyCode>, lang: &String)
|
||||
policy_numbers: &mut HashMap<usize, PolicyCode>,
|
||||
policy_data_count: &mut usize,
|
||||
lang: &String)
|
||||
-> Result<usize, Box<dyn Error>> {
|
||||
use std::fs::File;
|
||||
use std::path::Path;
|
||||
|
||||
Reference in New Issue
Block a user