Skip to content

Commit

Permalink
cmd/compile: rename Nconv to nconv
Browse files Browse the repository at this point in the history
For consistency.

Change-Id: Ic687fea95f7a4a3be576945af3e9c97086309b07
Reviewed-on: https://go-review.googlesource.com/38142
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dave Cheney <dave@cheney.net>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
  • Loading branch information
josharian committed Mar 14, 2017
1 parent 0fd6df3 commit 6088fab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cmd/compile/internal/gc/fmt.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ var classnames = []string{
func (n *Node) Format(s fmt.State, verb rune) {
switch verb {
case 'v', 'S', 'L':
n.Nconv(s, fmtFlag(s, verb))
n.nconv(s, fmtFlag(s, verb))

case 'j':
n.jconv(s, fmtFlag(s, verb))
Expand Down Expand Up @@ -1731,7 +1731,7 @@ func (n *Node) String() string {

// "%L" suffix with "(type %T)" where possible
// "%+S" in debug mode, don't recurse, no multiline output
func (n *Node) Nconv(s fmt.State, flag FmtFlag) {
func (n *Node) nconv(s fmt.State, flag FmtFlag) {
if n == nil {
fmt.Fprint(s, "<N>")
return
Expand Down

0 comments on commit 6088fab

Please sign in to comment.