aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/spanned.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spanned.rs b/src/spanned.rs
index cf69383..d9fec3a 100644
--- a/src/spanned.rs
+++ b/src/spanned.rs
@@ -32,7 +32,7 @@ pub const VALUE: &'static str = "$__toml_private_value";
/// assert_eq!(u.s.into_inner(), String::from("value"));
/// }
/// ```
-#[derive(Debug)]
+#[derive(Clone, Debug, PartialEq)]
pub struct Spanned<T> {
/// The start range.
start: usize,