Clean up wording in type interface documentation

This commit is contained in:
Sasha Koshka 2024-03-14 02:37:58 -04:00
parent e35a576022
commit 9335841fc0
1 changed files with 3 additions and 3 deletions

View File

@ -12,13 +12,13 @@ type Type interface {
// Position returns the position of the type within its source file.
Position () errors.Position
// Equals reports whether this type is equivalent to another type.
// Equals returns whether this type is equivalent to another type.
Equals (ty Type) bool
// Access reports the access permission of the type.
// Access returns the access control mode of the type.
Access () Access
// Unit reports the unit that the type was defined in.
// Unit returns the unit that the type was defined in.
Unit () uuid.UUID
// Hash returns a hash of this type that fits within a uint64.