mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
all: fix typos
R=golang-dev, bradfitz, khr, r CC=golang-dev https://golang.org/cl/7461046
This commit is contained in:
parent
822da40814
commit
faef52c214
30 changed files with 36 additions and 36 deletions
2
src/cmd/dist/unix.c
vendored
2
src/cmd/dist/unix.c
vendored
|
|
@ -548,7 +548,7 @@ hassuffix(char *p, char *suffix)
|
|||
return np >= ns && strcmp(p+np-ns, suffix) == 0;
|
||||
}
|
||||
|
||||
// hasprefix reports whether p begins wtih prefix.
|
||||
// hasprefix reports whether p begins with prefix.
|
||||
bool
|
||||
hasprefix(char *p, char *prefix)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue