Skip to content

Commit

Permalink
Clippy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dgmcdona committed Dec 22, 2024
1 parent da16a37 commit 444ed0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/unifiedlog_parser_json/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ fn parse_trace_file(
}

// Create JSON files in JSONL format
fn output(results: &Vec<LogData>, output_name: &str) -> Result<(), Box<dyn Error>> {
fn output(results: &[LogData], output_name: &str) -> Result<(), Box<dyn Error>> {
let args = Args::parse();
let mut filepath = args.output.unwrap_or(PathBuf::from("."));
filepath.push(output_name);
Expand Down

0 comments on commit 444ed0f

Please sign in to comment.