We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ef8391 commit b1b7dc1Copy full SHA for b1b7dc1
tests/indexing.rs
@@ -0,0 +1,8 @@
1
+use text_size::*;
2
+
3
+#[test]
4
+fn main() {
5
+ let range = TextRange::default();
6
+ &""[range];
7
+ &String::new()[range];
8
+}
0 commit comments