Rename [i..j] to [i ..= j], the same as Rust

This commit is contained in:
Nigel Tao committed 2019-10-12 18:40:53 +11:00
1 parent 18c6e5716a
commit d501daddc3
18 files changed
+219 -206

No files matched your search

+4 -4
View File
@@ -62,13 +62,13 @@ func TestString(tt *testing.T) {
"x as base.u32",
"x as T",
"x as T",
"x as T[i..]",
"x as T[..j]",
"x as T[i..j]",
"x as T[i ..=]",
"x as T[..= j]",
"x as T[i ..= j]",
"x as pkg.T",
"x as ptr T",
"x as array[4] T",
"x as array[8 + (2 * N)] ptr array[4] ptr pkg.T[i..j]",
"x as array[8 + (2 * N)] ptr array[4] ptr pkg.T[i ..= j]",
}
tm := &t.Map{}