Merge pull request #318 from JustAPerson/patch-1

Derive Clone+PartialEq for Spanned
This commit is contained in:
Alex Crichton 2019-08-13 09:38:25 -05:00 committed by GitHub
commit 9cf3f2ddd1

View file

@ -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,