Skip to content

Commit

Permalink
Cleanup clippy issue on newer rust
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwlewis committed Nov 8, 2023
1 parent 95c44b2 commit 5ceb99d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libcnb/src/tracing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ mod tests {
_ = fs::remove_file(telemetry_path);

{
let mut trace = start_trace(&buildpack, &phase);
let mut trace = start_trace(&buildpack, phase);
trace.add_event(event);
trace.set_error(&Error::new(ErrorKind::Other, error_message));
}
Expand All @@ -132,6 +132,5 @@ mod tests {
assert!(
tracing_contents.contains(&buildpack.name.expect("Expected buildpack.name to exist"))
);
assert!(tracing_contents.contains("something"));
}
}

0 comments on commit 5ceb99d

Please sign in to comment.