Commit dcdaeebd authored by Brad Fitzpatrick's avatar Brad Fitzpatrick

docs: fix wrong it's -> its

R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/4702046
parent e3a77347
......@@ -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 {
......
......@@ -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)
......
......@@ -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;
......
......@@ -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
}
......
......@@ -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
}
......
......@@ -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)}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment