Skip to content

Commit

Permalink
html/template: remove unused mode field on Tree struct
Browse files Browse the repository at this point in the history
This changes Go, to remove this unused field on the `Tree` struct. Which seems to replaced by the non-private field `Mode`.

Change-Id: I5b384424cf60aa0af36eb8aad1d8db3f99b9838e
GitHub-Last-Rev: 4b033f967b55ff99df8a969ac1c91c358b82b726
GitHub-Pull-Request: golang/go#48028
Reviewed-on: https://go-review.googlesource.com/c/go/+/345789
Trust: Cherry Mui <[email protected]>
Run-TryBot: Cherry Mui <[email protected]>
TryBot-Result: Go Bot <[email protected]>
Reviewed-by: Rob Pike <[email protected]>
  • Loading branch information
Gusted authored and cherrymui committed Oct 18, 2021
1 parent 394a1ad commit 267abbe
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/text/template/parse/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ type Tree struct {
treeSet map[string]*Tree
actionLine int // line of left delim starting action
rangeDepth int
mode Mode
}

// A mode value is a set of flags (or 0). Modes control parser behavior.
Expand Down

0 comments on commit 267abbe

Please sign in to comment.