Skip to content

Commit fb80e6c

Browse files
committed
BacktraceStatus: add Eq impl
See discussion on #53487.
1 parent f2023ac commit fb80e6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/backtrace.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ pub struct Backtrace {
113113
/// The current status of a backtrace, indicating whether it was captured or
114114
/// whether it is empty for some other reason.
115115
#[non_exhaustive]
116-
#[derive(Debug)]
116+
#[derive(Debug, PartialEq, Eq)]
117117
pub enum BacktraceStatus {
118118
/// Capturing a backtrace is not supported, likely because it's not
119119
/// implemented for the current platform.

0 commit comments

Comments
 (0)