aboutsummaryrefslogtreecommitdiffhomepage
path: root/cgo
diff options
context:
space:
mode:
authorhongkuang <[email protected]>2024-04-07 16:17:09 +0800
committerRon Evans <[email protected]>2024-04-20 14:58:06 +0200
commit1154212c15e6e97048e122068730dab5a1a9427f (patch)
tree0af7679d7429b6c714c35cdf51e34de87c6fd9d1 /cgo
parent22bf045c9a5194001b1d52c094094cf8926823a1 (diff)
downloadtinygo-1154212c15e6e97048e122068730dab5a1a9427f.tar.gz
tinygo-1154212c15e6e97048e122068730dab5a1a9427f.zip
chore: fix function names in comment
Signed-off-by: hongkuang <[email protected]>
Diffstat (limited to 'cgo')
-rw-r--r--cgo/cgo_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgo/cgo_test.go b/cgo/cgo_test.go
index 5425d2779..60af3e6f2 100644
--- a/cgo/cgo_test.go
+++ b/cgo/cgo_test.go
@@ -216,7 +216,7 @@ func (i simpleImporter) Import(path string) (*types.Package, error) {
}
}
-// formatDiagnostics formats the error message to be an indented comment. It
+// formatDiagnostic formats the error message to be an indented comment. It
// also fixes Windows path name issues (backward slashes).
func formatDiagnostic(err error) string {
msg := err.Error()