go/build: fix typo · golang/go@c8b31c5 (original) (raw)

Original file line number Diff line number Diff line change
@@ -1328,7 +1328,7 @@ func (ctxt *Context) goodOSArchFile(name string, allTags map[string]bool) bool {
1328 1328 // build tag "linux" in that file. For Go 1.4 and beyond, we require this
1329 1329 // auto-tagging to apply only to files with a non-empty prefix, so
1330 1330 // "foo_linux.go" is tagged but "linux.go" is not. This allows new operating
1331 -// sytems, such as android, to arrive without breaking existing code with
1331 +// systems, such as android, to arrive without breaking existing code with
1332 1332 // innocuous source code in "android.go". The easiest fix: cut everything
1333 1333 // in the name before the initial _.
1334 1334 i := strings.Index(name, "_")