diff --git a/examples/unifiedlog_parser_json/src/main.rs b/examples/unifiedlog_parser_json/src/main.rs index dc85e79..bf52969 100644 --- a/examples/unifiedlog_parser_json/src/main.rs +++ b/examples/unifiedlog_parser_json/src/main.rs @@ -173,7 +173,7 @@ fn parse_trace_file( } // Create JSON files in JSONL format -fn output(results: &Vec, output_name: &str) -> Result<(), Box> { +fn output(results: &[LogData], output_name: &str) -> Result<(), Box> { let args = Args::parse(); let mut filepath = args.output.unwrap_or(PathBuf::from(".")); filepath.push(output_name);