Skip to content

Commit

Permalink
fix other mentions of NESButtons
Browse files Browse the repository at this point in the history
  • Loading branch information
shaver committed Dec 3, 2024
1 parent 897943d commit 42a888d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion concepts/enumerations/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,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. These values can then be used like any other values in Swift.
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. These values can then be used like any other values in Swift.

```swift
var lastPressed = NESButton.up
Expand Down
2 changes: 1 addition & 1 deletion exercises/concept/log-lines/.docs/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 42a888d

Please sign in to comment.