Skip to content

Commit

Permalink
BacktraceStatus: add Eq impl
Browse files Browse the repository at this point in the history
See discussion on rust-lang#53487.
  • Loading branch information
mathstuf committed Oct 2, 2019
1 parent f2023ac commit fb80e6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/backtrace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ pub struct Backtrace {
/// The current status of a backtrace, indicating whether it was captured or
/// whether it is empty for some other reason.
#[non_exhaustive]
#[derive(Debug)]
#[derive(Debug, PartialEq, Eq)]
pub enum BacktraceStatus {
/// Capturing a backtrace is not supported, likely because it's not
/// implemented for the current platform.
Expand Down

0 comments on commit fb80e6c

Please sign in to comment.