Skip to content

Commit 64dbce0

Browse files
committed
fix tests
1 parent 8371915 commit 64dbce0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/serde.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ fn size(x: u32) -> TextSize {
55
}
66

77
fn range(x: ops::Range<u32>) -> TextRange {
8-
TextRange::from(x)
8+
TextRange(x.start.into(), x.end.into())
99
}
1010

1111
#[test]

0 commit comments

Comments
 (0)