Skip to content

Commit

Permalink
fix: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
ten3roberts committed Dec 11, 2023
1 parent e61cf4e commit de636fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion color-eyre/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -920,7 +920,7 @@ fn print_panic_info(report: &PanicReport<'_>, f: &mut fmt::Formatter<'_>) -> fmt
let issue_section = crate::section::github::IssueSection::new(url, payload)
.with_backtrace(report.backtrace.as_ref())
.with_location(report.panic_info.location())
.with_metadata(&**report.hook.issue_metadata);
.with_metadata(&report.hook.issue_metadata);

#[cfg(feature = "capture-spantrace")]
let issue_section = issue_section.with_span_trace(report.span_trace.as_ref());
Expand Down
2 changes: 1 addition & 1 deletion color-eyre/src/handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ impl eyre::EyreHandler for Handler {

let issue_section = crate::section::github::IssueSection::new(url, &payload)
.with_backtrace(self.backtrace.as_ref())
.with_metadata(&**self.issue_metadata);
.with_metadata(&self.issue_metadata);

#[cfg(feature = "capture-spantrace")]
let issue_section = issue_section.with_span_trace(span_trace);
Expand Down

0 comments on commit de636fa

Please sign in to comment.