Skip to content
This repository has been archived by the owner on Nov 18, 2021. It is now read-only.

Commit

Permalink
cue/testdata, doc, pkg: fix some it's/its typos
Browse files Browse the repository at this point in the history
Closes #935
#935

GitOrigin-RevId: 859730b
Change-Id: I47d002979b877a7794ea0f50e22292074a66c1cd
Reviewed-on: https://cue-review.googlesource.com/c/cue/+/9641
Reviewed-by: Paul Jolly <paul@myitcv.org.uk>
  • Loading branch information
bradfitz authored and myitcv committed May 3, 2021
1 parent c143a3a commit 3ef90b3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions cue/testdata/cycle/compbottomnofinal.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ medium: {
}

#X: {
// Can never determine whether Y.port exists as it's resolution
// Can never determine whether Y.port exists as its resolution
// depends on #Y becoming finalized, which, in turn, depends on #X
// becoming finalized.
if Y.port == _|_ {
Expand All @@ -82,7 +82,7 @@ medium: {
#Y: regexp.FindNamedSubmatch(#userHostPort, #X.port)

#X: {
// Can never determine whether Y.port exists as it's resolution
// Can never determine whether Y.port exists as its resolution
// depends on #Y becoming finalized, which, in turn, depends on #X
// becoming finalized.
if Y.port == _|_ {
Expand Down Expand Up @@ -110,7 +110,7 @@ medium: {
#Y: regexp.FindNamedSubmatch(#userHostPort, #X.port)

#X: {
// Can never determine whether Y.port exists as it's resolution
// Can never determine whether Y.port exists as its resolution
// depends on #Y becoming finalized, which, in turn, depends on #X
// becoming finalized.
if Y.port == _|_ {
Expand All @@ -130,7 +130,7 @@ medium: {
}

#X: {
// Can never determine whether Y.port exists as it's resolution
// Can never determine whether Y.port exists as its resolution
// depends on #Y becoming finalized, which, in turn, depends on #X
// becoming finalized.
if Y.port == _|_ {
Expand All @@ -146,7 +146,7 @@ medium: {

p5: {
#X: {
// Can never determine whether Y.port exists as it's resolution
// Can never determine whether Y.port exists as its resolution
// depends on #Y becoming finalized, which, in turn, depends on #X
// becoming finalized.
if Y.port == _|_ {
Expand All @@ -168,7 +168,7 @@ medium: {

p6: {
#X: {
// Can never determine whether Y.port exists as it's resolution
// Can never determine whether Y.port exists as its resolution
// depends on #Y becoming finalized, which, in turn, depends on #X
// becoming finalized.
if Y.port == _|_ {
Expand Down
2 changes: 1 addition & 1 deletion doc/tutorial/basics/2_types/56_optional.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description = ""

-- text.md --
Struct is the most important composite type in CUE.
It's members are called fields.
Its members are called fields.

A struct field may be optional.
One can use an optional field to indicate what the type should be if it were
Expand Down
2 changes: 1 addition & 1 deletion pkg/internal/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"github.com/cockroachdb/apd/v2"
)

// CallCtxt is passed to builtin implementations that need to use a cue.Value. This is an internal type. It's interface may change.
// CallCtxt is passed to builtin implementations that need to use a cue.Value. This is an internal type. Its interface may change.
type CallCtxt struct {
ctx *adt.OpContext
builtin *Builtin
Expand Down

0 comments on commit 3ef90b3

Please sign in to comment.