]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile: fix typo in comment
authormohanson <mohanson@outlook.com>
Sat, 20 Sep 2025 11:32:29 +0000 (19:32 +0800)
committerGopher Robot <gobot@golang.org>
Tue, 23 Sep 2025 18:45:30 +0000 (11:45 -0700)
Fix typo for omitted.

Change-Id: Ia633abe7f3d28f15f1f538425cdce9e6d9ef48c0
Reviewed-on: https://go-review.googlesource.com/c/go/+/705735
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Junyang Shao <shaojunyang@google.com>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
Auto-Submit: Keith Randall <khr@golang.org>

src/cmd/compile/internal/noder/doc.go

index a5d5533168c1555151b77f64fe29ed2d78c08691..8eb67e92f0dcbf07b9aadcbd5d01c5cba3eb92ec 100644 (file)
@@ -87,7 +87,7 @@ constant for file bases and hence not encoded.
               [ Sync ]
               StringRef       // the (absolute) file name for the base
               Bool            // true if a file base, else a line base
-              // The below is ommitted for file bases.
+              // The below is omitted for file bases.
               [ Pos
                 Uint64        // line
                 Uint64 ]      // column
@@ -99,7 +99,7 @@ without a PosBase have no line or column.
 
     Pos     = [ Sync ]
               Bool             // true if the position has a base
-              // The below is ommitted if the position has no base.
+              // The below is omitted if the position has no base.
               [ Ref[PosBase]
                 Uint64         // line
                 Uint64 ]       // column
@@ -125,7 +125,7 @@ packages. The below package paths have special meaning.
     Pkg        = RefTable
                  [ Sync ]
                  StringRef      // path
-                 // The below is ommitted for the special package paths
+                 // The below is omitted for the special package paths
                  // "builtin" and "unsafe".
                  [ StringRef    // name
                    Imports ]