From cf558c473bcc5fc875f65343d58ad59f3d7ef010 Mon Sep 17 00:00:00 2001 From: Mike Shaver Date: Tue, 3 Dec 2024 16:43:53 -0500 Subject: [PATCH] Fix `NESButtons` typo (#779) * Fix `NESButtons` typo Just a little typo in the enum name. * fix other mentions of `NESButtons` --- concepts/enumerations/about.md | 2 +- concepts/enumerations/introduction.md | 2 +- exercises/concept/log-lines/.docs/introduction.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/concepts/enumerations/about.md b/concepts/enumerations/about.md index 394c7d77c..cb37a8007 100644 --- a/concepts/enumerations/about.md +++ b/concepts/enumerations/about.md @@ -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 diff --git a/concepts/enumerations/introduction.md b/concepts/enumerations/introduction.md index b712d71a7..cd8107abf 100644 --- a/concepts/enumerations/introduction.md +++ b/concepts/enumerations/introduction.md @@ -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 diff --git a/exercises/concept/log-lines/.docs/introduction.md b/exercises/concept/log-lines/.docs/introduction.md index aa587dad0..54baf75e8 100644 --- a/exercises/concept/log-lines/.docs/introduction.md +++ b/exercises/concept/log-lines/.docs/introduction.md @@ -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