Run Nick G's spellchecker github.com/client9/misspell, carefuly fix what it found (#4235)

This commit is contained in:
dkegel-fastly
2024-04-19 06:57:01 -07:00
committed by GitHub
parent 7122755725
commit 39029cc376
39 changed files with 48 additions and 48 deletions
+1 -1
View File
@@ -214,7 +214,7 @@ func listGorootMergeLinks(goroot, tinygoroot string, overrides map[string]bool)
return merges, nil
}
// needsSyscallPackage returns whether the syscall package should be overriden
// needsSyscallPackage returns whether the syscall package should be overridden
// with the TinyGo version. This is the case on some targets.
func needsSyscallPackage(buildTags []string) bool {
for _, tag := range buildTags {
+1 -1
View File
@@ -430,7 +430,7 @@ func (p *Package) parseFiles() ([]*ast.File, error) {
var files []*ast.File
var fileErrs []error
// Parse all files (incuding CgoFiles).
// Parse all files (including CgoFiles).
parseFile := func(file string) {
if !filepath.IsAbs(file) {
file = filepath.Join(p.Dir, file)