chore: fix function names in comment

Signed-off-by: hongkuang <liurenhong@outlook.com>
This commit is contained in:
hongkuang
2024-04-07 16:17:09 +08:00
committed by Ron Evans
parent 22bf045c9a
commit 1154212c15
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -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()