Skip to content

Commit d60429c

Browse files
authored
Apply suggestions from code review
1 parent 0341c36 commit d60429c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/en-us/luau/enums.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The **enumeration** data type, or `Datatype.Enum`, is a fixed list of items. You
1111

1212
## Enum items
1313

14-
To get all items of an Enum, call the `GetEnumItems()` method on the enum. The following code sample demonstrates how to call `GetEnumItems()` on the `Enum.PartType` enum.
14+
To get all items of an enum, call the `Datatype.Enum:GetEnumItems()|GetEnumItems()` method on it. The following code sample demonstrates how to call `Datatype.Enum:GetEnumItems()|GetEnumItems()` on the `Enum.PartType` enum.
1515

1616
```lua
1717
local partTypes = Enum.PartType:GetEnumItems()

0 commit comments

Comments
 (0)