1
0
mirror of https://github.com/golang/go synced 2024-11-19 11:04:47 -07:00

docs: fix wrong it's -> its

R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/4702046
This commit is contained in:
Brad Fitzpatrick 2011-07-13 10:54:51 -07:00
parent e3a773479d
commit dcdaeebdfb
6 changed files with 8 additions and 8 deletions

View File

@ -170,7 +170,7 @@ func readDirList(filename string) ([]string, os.Error) {
return e == nil && isPkgDir(d)
}
list := canonicalizePaths(strings.Split(string(contents), "\n"), filter)
// for each parent path, remove all it's children q
// for each parent path, remove all its children q
// (requirement for binary search to work when filtering)
i := 0
for _, q := range list {

View File

@ -633,7 +633,7 @@ func (x *Indexer) addFile(filename string, goFile bool) (file *token.File, ast *
// this permits the direct mapping of suffix array lookup results to
// to corresponding Pos values.
//
// When a file is added to the file set, it's offset base increases by
// When a file is added to the file set, its offset base increases by
// the size of the file + 1; and the initial base offset is 1. Add an
// extra byte to the sources here.
x.sources.WriteByte(0)

View File

@ -1209,7 +1209,7 @@ copychildren(DWDie *dst, DWDie *src)
}
// Search children (assumed to have DW_TAG_member) for the one named
// field and set it's DW_AT_type to dwtype
// field and set its DW_AT_type to dwtype
static void
substitutetype(DWDie *structdie, char *field, DWDie* dwtype)
{
@ -1698,7 +1698,7 @@ inithist(Auto *a)
// We could just fixup the current
// linehist->line, but there doesn't appear to
// be a guarantee that every 'Z' is preceded
// by it's own 'z', so do the safe thing and
// by its own 'z', so do the safe thing and
// update the stack and push a new Linehist
// entry
includestack[includetop].line = a->aoffset;

View File

@ -97,7 +97,7 @@ func Decode(data []byte) (p *Block, rest []byte) {
for {
// This loop terminates because getLine's second result is
// always smaller than it's argument.
// always smaller than its argument.
if len(rest) == 0 {
return nil, data
}

View File

@ -317,12 +317,12 @@ func newState(fmt Format, env Environment, errors chan os.Error) *State {
s.errors = errors
s.linePos = token.Position{Line: 1}
// if we have a default rule, cache it's expression for fast access
// if we have a default rule, cache its expression for fast access
if x, found := fmt["default"]; found {
s.default_ = x
}
// if we have a global separator rule, cache it's expression for fast access
// if we have a global separator rule, cache its expression for fast access
if x, found := fmt["/"]; found {
s.separator = x
}

View File

@ -155,7 +155,7 @@ func (s *ioSrv) ExecIO(oi anOpIface, deadline_delta int64) (n int, err os.Error)
case 0:
// IO completed immediately, but we need to get our completion message anyway.
case syscall.ERROR_IO_PENDING:
// IO started, and we have to wait for it's completion.
// IO started, and we have to wait for its completion.
default:
return 0, &OpError{oi.Name(), o.fd.net, o.fd.laddr, os.Errno(e)}
}