Skip to content

Commit 4b1e197

Browse files
authored
Merge pull request #247 from cramertj/derives-printfmt
Derive Copy/Clone/Eq/PartialEq for PrintFmt
2 parents 17117c9 + c2fc1b4 commit 4b1e197

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/print.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ pub struct BacktraceFmt<'a, 'b> {
2020
}
2121

2222
/// The styles of printing that we can print
23+
#[derive(Copy, Clone, Eq, PartialEq)]
2324
pub enum PrintFmt {
2425
/// Prints a terser backtrace which ideally only contains relevant information
2526
Short,

0 commit comments

Comments
 (0)