Fix up tests and typos

This commit is contained in:
Seiichi Uchida 2018-02-14 22:30:15 +09:00
parent b5099a708d
commit 291c51b9c8
4 changed files with 12 additions and 10 deletions

View file

@ -219,7 +219,7 @@ impl Span {
/// Returns a new span representing an empty span at the beginning of this span
#[inline]
pub fn empty(self) -> Span {
span.with_hi(self.lo())
self.with_hi(self.lo())
}
/// Returns `self` if `self` is not the dummy span, and `other` otherwise.