Skip to content

Commit

Permalink
Fix NESButtons typo
Browse files Browse the repository at this point in the history
Just a little typo in the enum name.
  • Loading branch information
shaver authored Dec 3, 2024
1 parent ccc460c commit 897943d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion concepts/enumerations/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ enum NESButton {
}
```

This defines a new type named `NESButtons` with possible values `up`, `down`, `left`, `right`, `a`, `b`, `select`, and `start`. These values can be referred to by following the name of the type with a dot (`.`) and the value. In cases where the type name can be inferred, only the dot and value are needed.
This defines a new type named `NESButton` with possible values `up`, `down`, `left`, `right`, `a`, `b`, `select`, and `start`. These values can be referred to by following the name of the type with a dot (`.`) and the value. In cases where the type name can be inferred, only the dot and value are needed.

## Methods

Expand Down

0 comments on commit 897943d

Please sign in to comment.