diff --git a/src/context.rs b/src/context.rs index 9ab0cc4..b69be14 100644 --- a/src/context.rs +++ b/src/context.rs @@ -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 { context: D, } @@ -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 { context: D, failure: Either,