Skip to content

Commit

Permalink
reflect/protorange: fix typo of func name in comment
Browse files Browse the repository at this point in the history
Change-Id: I80ffc34e29757e0cbdccdd530404fa215cfaf75f
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/317989
Reviewed-by: Alberto Donizetti <[email protected]>
Reviewed-by: Joe Tsai <[email protected]>
Trust: Alberto Donizetti <[email protected]>
  • Loading branch information
sryoya authored and dsnet committed May 7, 2021
1 parent c30776b commit 0e358a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reflect/protorange/range.go
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ func popStep(p *protopath.Values) {
p.Values = p.Values[:len(p.Values)-1]
}

// amendErrors amends the previous error with the current error if it is
// amendError amends the previous error with the current error if it is
// considered more serious. The precedence order for errors is:
// nil < Break < Terminate < previous non-nil < current non-nil
func amendError(prev, curr error) error {
Expand Down

0 comments on commit 0e358a4

Please sign in to comment.