Commit a4c89eb7 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 3ecacd99
......@@ -378,7 +378,6 @@ func (M *RangedMap) AllRanges() /*readonly*/[]RangedMapEntry {
return M.entryv
}
// XXX -> ptr?
func (M RangedMap) String() string {
s := "{"
for i, e := range M.entryv {
......@@ -391,7 +390,7 @@ func (M RangedMap) String() string {
return s
}
func (e *RangedMapEntry) String() string {
func (e RangedMapEntry) String() string {
s := e.KeyRange.String()
v := fmt.Sprintf("%v", e.Value)
if v != "" { // omit ":<v>" in the case of set
......
......@@ -380,7 +380,6 @@ func (M *_RangedMap_str) AllRanges() /*readonly*/[]_RangedMap_strEntry {
return M.entryv
}
// XXX -> ptr?
func (M _RangedMap_str) String() string {
s := "{"
for i, e := range M.entryv {
......@@ -393,7 +392,7 @@ func (M _RangedMap_str) String() string {
return s
}
func (e *_RangedMap_strEntry) String() string {
func (e _RangedMap_strEntry) String() string {
s := e.KeyRange.String()
v := fmt.Sprintf("%v", e.Value)
if v != "" { // omit ":<v>" in the case of set
......
......@@ -380,7 +380,6 @@ func (M *_RangedMap_void) AllRanges() /*readonly*/[]_RangedMap_voidEntry {
return M.entryv
}
// XXX -> ptr?
func (M _RangedMap_void) String() string {
s := "{"
for i, e := range M.entryv {
......@@ -393,7 +392,7 @@ func (M _RangedMap_void) String() string {
return s
}
func (e *_RangedMap_voidEntry) String() string {
func (e _RangedMap_voidEntry) String() string {
s := e.KeyRange.String()
v := fmt.Sprintf("%v", e.Value)
if v != "" { // omit ":<v>" in the case of set
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment