mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-19 08:38:14 +01:00
Rename [i..j] to [i ..= j], the same as Rust
This commit is contained in:
1 parent
18c6e5716a
commit
d501daddc3
18 files changed
+219
-206
No files matched your search
@@ -150,15 +150,15 @@ func (x IntRange) String() string {
|
||||
}
|
||||
buf := []byte(nil)
|
||||
if x[0] == nil {
|
||||
buf = append(buf, "(-∞, "...)
|
||||
buf = append(buf, "(-∞"...)
|
||||
} else {
|
||||
buf = append(buf, '[')
|
||||
buf = x[0].Append(buf, 10)
|
||||
buf = append(buf, ".."...)
|
||||
}
|
||||
if x[1] == nil {
|
||||
buf = append(buf, "+∞)"...)
|
||||
buf = append(buf, " .. +∞)"...)
|
||||
} else {
|
||||
buf = append(buf, " ..= "...)
|
||||
buf = x[1].Append(buf, 10)
|
||||
buf = append(buf, ']')
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user