You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let json_fns = engine.gen_fn_metadata_to_json(false).unwrap();
64
70
println!("{json_fns}");
65
-
let v:HashMap<String,Vec<Function>> = serde_json::from_str(&json_fns).unwrap();
66
-
for function in v["functions"].clone(){
71
+
let v:Metadata = serde_json::from_str(&json_fns).unwrap();
72
+
for function in v.functions{
67
73
println!("{:?}", function);
68
74
}
69
75
70
-
let function_list = v["functions"].clone();
76
+
let function_list = v.functions;
71
77
72
78
// Write functions
73
79
write!(doc_file,"\n# API\n This package provides a large variety of functions to help with scientific computing:\n").expect("Cannot write to {doc_file}");
0 commit comments