Skip to content

Commit e24f734

Browse files
committed
Fix build with semver exempt items
1 parent 2f7460b commit e24f734

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/unstable.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,10 @@ impl Span {
256256
pub fn join(&self, other: Span) -> Option<Span> {
257257
self.0.join(other.0).map(Span)
258258
}
259+
260+
pub fn eq(&self, other: &Span) -> bool {
261+
self.0.eq(&other.0)
262+
}
259263
}
260264

261265
impl fmt::Debug for Span {

0 commit comments

Comments
 (0)