minor cleanup

This commit is contained in:
jan 2025-04-12 12:51:26 -07:00
commit 1b3a6a45ce
2 changed files with 3 additions and 5 deletions

View file

@ -40,9 +40,7 @@ pub unsafe extern "C" fn read_path(
let input = fs::read(path).expect("File read failed");
let (_input, struct_arr) = read_library(&input).expect("Read failed");
let (mut arr_v, mut schema_v) = to_ffi(&struct_arr.to_data()).unwrap();
*arr = arr_v;
*schema = schema_v;
(*arr, *schema) = to_ffi(&struct_arr.to_data()).unwrap();
}