Skip to content
This repository was archived by the owner on Aug 16, 2021. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ without_std! {
///
/// The `Display` impl for `Context` only prints the human-readable context, while the
/// `Debug` impl also prints the underlying error.
#[must_use]
pub struct Context<D: Display + Send + Sync + 'static> {
context: D,
}
Expand Down Expand Up @@ -73,6 +74,7 @@ with_std! {
///
/// The `Display` impl for `Context` only prints the human-readable context, while the
/// `Debug` impl also prints the underlying error.
#[must_use]
pub struct Context<D: Display + Send + Sync + 'static> {
context: D,
failure: Either<Backtrace, Error>,
Expand Down