]> Cypherpunks.ru repositories - gostls13.git/commit
runtime: replace calls to hasprefix with hasPrefix
authorMartin Möhrmann <moehrmann@google.com>
Fri, 1 Jun 2018 17:25:57 +0000 (19:25 +0200)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 22 Aug 2018 19:44:26 +0000 (19:44 +0000)
commitb0dc54697ba34494a4d77e8d3e446070fc7b223b
tree04afa387932cdfc751802b4bf6e50f5ba9643941
parent2fad8b219ff9f13f10396c97c0a3bca5c6153d78
runtime: replace calls to hasprefix with hasPrefix

The hasprefix function is redundant and can be removed since it has
the same implementation as hasPrefix modulo variable names.

Fixes #25688

Change-Id: I499cc24a2b5c38d1301718a4e66f555fd138386f
Reviewed-on: https://go-review.googlesource.com/115835
Run-TryBot: Martin Möhrmann <moehrmann@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ilya Tocar <ilya.tocar@intel.com>
src/runtime/export_debug_test.go
src/runtime/os3_plan9.go
src/runtime/os_plan9.go
src/runtime/proc.go
src/runtime/string.go
src/runtime/traceback.go
src/runtime/type.go