Fix up tests and typos
This commit is contained in:
parent
b5099a708d
commit
291c51b9c8
4 changed files with 12 additions and 10 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue