diff options
Diffstat (limited to 'source')
| -rw-r--r-- | source/core/slang-string.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/core/slang-string.h b/source/core/slang-string.h index 6d84a0c95..1a45f747b 100644 --- a/source/core/slang-string.h +++ b/source/core/slang-string.h @@ -201,7 +201,7 @@ public: /// Trims any 'c' from the start or the end, and returns as a substring UnownedStringSlice trim(char c) const; - /// Trims any horizonatl whitespace from start and returns as a substring + /// Trims any horizontal whitespace from start and returns as a substring UnownedStringSlice trimStart() const; static constexpr bool kHasUniformHash = true; @@ -459,9 +459,8 @@ private: }; /*! -@brief Represents a UTF-8 encoded string. +@brief Represents an owned, zero-terminated UTF-8 encoded string. */ - class SLANG_RT_API String { friend struct StringSlice; |
