mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2024-12-27 06:21:25 +00:00
reflect/protorange: fix typo of func name in comment
Change-Id: I80ffc34e29757e0cbdccdd530404fa215cfaf75f Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/317989 Reviewed-by: Alberto Donizetti <alb.donizetti@gmail.com> Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com> Trust: Alberto Donizetti <alb.donizetti@gmail.com>
This commit is contained in:
parent
c30776bb3b
commit
0e358a402f
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user