commit | e24f734b0aab541c613a62a4939ce184995e9356 | [log] [tgz] |
---|---|---|
author | Alex Crichton <alex@alexcrichton.com> | Thu Apr 05 17:58:11 2018 -0700 |
committer | Alex Crichton <alex@alexcrichton.com> | Thu Apr 05 17:58:11 2018 -0700 |
tree | 94bfa18611ba0ce780680f08bf907a5aa9d3d7fc | |
parent | 2f7460bcd3dfc3d09acac92fe5b1061f8356a690 [diff] |
Fix build with semver exempt items
diff --git a/src/unstable.rs b/src/unstable.rs index 6754a85..d913df4 100644 --- a/src/unstable.rs +++ b/src/unstable.rs
@@ -256,6 +256,10 @@ pub fn join(&self, other: Span) -> Option<Span> { self.0.join(other.0).map(Span) } + + pub fn eq(&self, other: &Span) -> bool { + self.0.eq(&other.0) + } } impl fmt::Debug for Span {