diff options
author | Alex Crichton <alex@alexcrichton.com> | 2019-08-13 09:38:25 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-13 09:38:25 -0500 |
commit | 39d720d84c42534f2dacf1c7d09af108d4a22758 (patch) | |
tree | fa9fb2657126f1af9f3c35e87521f390ace43778 /src | |
parent | e0bf3a087ae0d775d813ad079ec1629d9876c02f (diff) | |
parent | bbff1080f94c51ea03c7353ec0b1647038cc09d9 (diff) | |
download | milf-rs-39d720d84c42534f2dacf1c7d09af108d4a22758.tar.gz milf-rs-39d720d84c42534f2dacf1c7d09af108d4a22758.zip |
Merge pull request #318 from JustAPerson/patch-1
Derive Clone+PartialEq for Spanned
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, |