From 479741e2fcbf56e6188b72e04c509cb207856e2b Mon Sep 17 00:00:00 2001 From: Jorge Ferreira Date: Sat, 11 May 2019 00:46:26 -0700 Subject: [PATCH] Fixing minor grammar typos (#6060) --- cores/esp8266/WString.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cores/esp8266/WString.h b/cores/esp8266/WString.h index 11b12aa08..3192a9ee3 100644 --- a/cores/esp8266/WString.h +++ b/cores/esp8266/WString.h @@ -98,7 +98,7 @@ class String { // returns true on success, false on failure (in which case, the string // is left unchanged). if the argument is null or invalid, the - // concatenation is considered unsucessful. + // concatenation is considered unsuccessful. unsigned char concat(const String &str); unsigned char concat(const char *cstr); unsigned char concat(char c); @@ -199,7 +199,7 @@ class String { unsigned char startsWith(const String &prefix, unsigned int offset) const; unsigned char endsWith(const String &suffix) const; - // character acccess + // character access char charAt(unsigned int index) const; void setCharAt(unsigned int index, char c); char operator [](unsigned int index) const;