summaryrefslogtreecommitdiff
path: root/subplotlib/src/prelude.rs
diff options
context:
space:
mode:
Diffstat (limited to 'subplotlib/src/prelude.rs')
-rw-r--r--subplotlib/src/prelude.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/subplotlib/src/prelude.rs b/subplotlib/src/prelude.rs
index 4f5b781..e0ac627 100644
--- a/subplotlib/src/prelude.rs
+++ b/subplotlib/src/prelude.rs
@@ -72,7 +72,7 @@ pub use lazy_static::lazy_static;
///
/// ```rust
/// # use subplotlib::prelude::*;
-/// # #[derive(Default)] struct SomeContextType;
+/// # #[derive(Debug, Default)] struct SomeContextType;
/// # impl ContextElement for SomeContextType {}
/// #[step]
/// fn my_step_function(context: &mut SomeContextType, arg1: &str, arg2: &str)
@@ -99,8 +99,8 @@ pub use lazy_static::lazy_static;
///
/// ```rust
/// # use subplotlib::prelude::*;
-/// # #[derive(Default)] struct ContextA;
-/// # #[derive(Default)] struct ContextB;
+/// # #[derive(Debug, Default)] struct ContextA;
+/// # #[derive(Debug, Default)] struct ContextB;
/// # impl ContextElement for ContextA {}
/// # impl ContextElement for ContextB {}
/// # impl ContextA { fn get_thingy(&self) -> Result<usize, StepError> { Ok(0) } }