diff options
author | Jason Priest <jpriest@mit.edu> | 2019-08-12 21:27:26 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-12 21:27:26 -0500 |
commit | bbff1080f94c51ea03c7353ec0b1647038cc09d9 (patch) | |
tree | fa9fb2657126f1af9f3c35e87521f390ace43778 /src | |
parent | e0bf3a087ae0d775d813ad079ec1629d9876c02f (diff) | |
download | milf-rs-bbff1080f94c51ea03c7353ec0b1647038cc09d9.tar.gz milf-rs-bbff1080f94c51ea03c7353ec0b1647038cc09d9.zip |
Derive Clone+PartialEq for Spanned
Should any other traits be derived?
Diffstat (limited to 'src')
-rw-r--r-- | src/spanned.rs | 2 |
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, |