Skip to content

Commit 3d6173a

Browse files
bradfitzgopherbot
authored andcommitted
all: fix typos of possessive its
(I noticed the one mistake in hashtriemap.go and figured I'd clean up others.) Change-Id: I4ade424b400056f161bc6c9c2838ba1f96b1f6bb Reviewed-on: https://go-review.googlesource.com/c/go/+/615675 Auto-Submit: Brad Fitzpatrick <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
1 parent 7d91cc2 commit 3d6173a

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

src/cmd/compile/internal/escape/escape.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ func Batch(fns []*ir.Func, recursive bool) {
145145
}
146146

147147
// We've walked the function bodies, so we've seen everywhere a
148-
// variable might be reassigned or have it's address taken. Now we
148+
// variable might be reassigned or have its address taken. Now we
149149
// can decide whether closures should capture their free variables
150150
// by value or reference.
151151
for _, closure := range b.closures {

src/cmd/compile/internal/types2/infer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ func (check *Checker) infer(pos syntax.Pos, tparams []*TypeParam, targs []Type,
404404
// t0 was simplified to t1.
405405
// If t0 was a generic function, but the simplified signature t1 does
406406
// not contain any type parameters anymore, the function is not generic
407-
// anymore. Remove it's type parameters. (go.dev/issue/59953)
407+
// anymore. Remove its type parameters. (go.dev/issue/59953)
408408
// Note that if t0 was a signature, t1 must be a signature, and t1
409409
// can only be a generic signature if it originated from a generic
410410
// function argument. Those signatures are never defined types and

src/go/types/expr.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ sub-expression trees are left alone except for their roots). This mechanism
4949
ensures that a client sees the actual (run-time) type an untyped value would
5050
have. It also permits type-checking of lhs shift operands "as if the shift
5151
were not present": when updateExprType visits an untyped lhs shift operand
52-
and assigns it it's final type, that type must be an integer type, and a
52+
and assigns it its final type, that type must be an integer type, and a
5353
constant lhs must be representable as an integer.
5454
5555
When an expression gets its final type, either on the way out from rawExpr,

src/go/types/infer.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/internal/concurrent/hashtriemap.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515

1616
// HashTrieMap is an implementation of a concurrent hash-trie. The implementation
1717
// is designed around frequent loads, but offers decent performance for stores
18-
// and deletes as well, especially if the map is larger. It's primary use-case is
18+
// and deletes as well, especially if the map is larger. Its primary use-case is
1919
// the unique package, but can be used elsewhere as well.
2020
type HashTrieMap[K, V comparable] struct {
2121
root *indirect[K, V]

src/internal/fuzz/worker.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ func (ws *workerServer) serve(ctx context.Context) error {
682682
}
683683

684684
// chainedMutations is how many mutations are applied before the worker
685-
// resets the input to it's original state.
685+
// resets the input to its original state.
686686
// NOTE: this number was picked without much thought. It is low enough that
687687
// it seems to create a significant diversity in mutated inputs. We may want
688688
// to consider looking into this more closely once we have a proper performance

0 commit comments

Comments
 (0)