Derive Clone+PartialEq for Spanned

Should any other traits be derived?
This commit is contained in:
Jason Priest 2019-08-12 21:27:26 -05:00 committed by GitHub
parent fd39bc7412
commit 4018ebc65a

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,