Skip to content

Commit e5bb71d

Browse files
committed
Switch to Rust range notation
1 parent f1552a0 commit e5bb71d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/range.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ pub struct TextRange {
3737

3838
impl fmt::Debug for TextRange {
3939
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
40-
write!(f, "[{}..{})", self.start().raw, self.end().raw)
40+
write!(f, "{}..{}", self.start().raw, self.end().raw)
4141
}
4242
}
4343

0 commit comments

Comments
 (0)