Skip to content

all: fix typos #58689

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/cmd/compile/internal/ssa/prove.go
Original file line number Diff line number Diff line change
Expand Up @@ -908,7 +908,7 @@ func prove(f *Func) {
}
// One might be tempted to create a v >= ft.zero relation for
// all OpPhi's composed of only provably-positive values
// but that bloats up the facts table for a very neglible gain.
// but that bloats up the facts table for a very negligible gain.
// In Go itself, very few functions get improved (< 5) at a cost of 5-7% total increase
// of compile time.
}
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/internal/obj/arm64/asm7.go
Original file line number Diff line number Diff line change
Expand Up @@ -1267,7 +1267,7 @@ func (c *ctxt7) flushpool(p *obj.Prog) {
q := c.newprog()
if p.Link == nil {
// If p is the last instruction of the function, insert an UNDEF instruction in case the
// exection fall through to the pool.
// execution fall through to the pool.
q.As = obj.AUNDEF
} else {
// Else insert a branch to the next instruction of p.
Expand Down
2 changes: 1 addition & 1 deletion src/net/http/transport_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4969,7 +4969,7 @@ func testTLSHandshakeTrace(t *testing.T, mode testMode) {
t.Fatal("Expected TLSHandshakeStart to be called, but wasn't")
}
if !done {
t.Fatal("Expected TLSHandshakeDone to be called, but wasnt't")
t.Fatal("Expected TLSHandshakeDone to be called, but wasn't")
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/os/exec/exec_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1039,7 +1039,7 @@ func TestDedupEnvEcho(t *testing.T) {

func TestEnvNULCharacter(t *testing.T) {
if runtime.GOOS == "plan9" {
t.Skip("plan9 explicitly allows NUL in the enviroment")
t.Skip("plan9 explicitly allows NUL in the environment")
}
cmd := helperCommand(t, "echoenv", "FOO", "BAR")
cmd.Env = append(cmd.Environ(), "FOO=foo\x00BAR=bar")
Expand Down