mirror of
https://github.com/golang/go
synced 2024-11-12 05:40:22 -07:00
make %v and %p consistent
R=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=32591 CL=32593
This commit is contained in:
parent
d1a3b98a8d
commit
318b67cb73
@ -434,7 +434,7 @@ func (p *pp) printField(field reflect.Value) (was_string bool) {
|
||||
break;
|
||||
}
|
||||
p.fmt.sharp = !p.fmt.sharp; // turn 0x on by default
|
||||
s = p.fmt.Fmt_uX64(uint64(v)).Str();
|
||||
s = p.fmt.Fmt_ux64(uint64(v)).Str();
|
||||
case reflect.ArrayOrSliceValue:
|
||||
p.addstr("[");
|
||||
for i := 0; i < f.Len(); i++ {
|
||||
|
Loading…
Reference in New Issue
Block a user