Skip to content

Commit 8731f63

Browse files
authored
minor typo fixes (#9106)
1 parent 877d440 commit 8731f63

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: cores/esp8266/WString.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
#include <utility>
3434
#include <type_traits>
3535

36-
// an abstract class used as a means to proide a unique pointer type
36+
// an abstract class used as a means to provide a unique pointer type
3737
// but really has no body
3838
class __FlashStringHelper;
3939
#define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
@@ -204,7 +204,7 @@ class String {
204204
bool concat(double num);
205205

206206
// if there's not enough memory for the concatenated value, the string
207-
// will be left unchanged (but this isn't signalled in any way)
207+
// will be left unchanged (but this isn't signaled in any way)
208208
template <typename T>
209209
String &operator +=(const T &rhs) {
210210
concat(rhs);
@@ -343,7 +343,7 @@ class String {
343343
char *wbuffer() { return const_cast<char *>(buffer()); } // Writable version of buffer
344344

345345
// concatenation is done via non-member functions
346-
// make sure we still have access to internal methods, since we optimize based on capacity of both sides and want to manipulate internal buffers directly
346+
// make sure we still have access to internal methods, since we optimize based on the capacity of both sides and want to manipulate internal buffers directly
347347
friend String operator +(const String &lhs, String &&rhs);
348348
friend String operator +(String &&lhs, String &&rhs);
349349
friend String operator +(char lhs, String &&rhs);

0 commit comments

Comments
 (0)