summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules.go b/modules.go
index b9e5b4e..30aa8b1 100644
--- a/modules.go
+++ b/modules.go
@@ -101,7 +101,7 @@ func (id ModuleID) Namespace() string {
return string(id)[:lastDot]
}
-// Name returns the Name (last element) of a module name.
+// Name returns the Name (last element) of a module ID.
func (id ModuleID) Name() string {
if id == "" {
return ""