Skip to content

Commit c2c13c9

Browse files
Fix comment typo.
1 parent 7eb4786 commit c2c13c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/include/swoc/TextView.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ class TextView : public std::string_view {
121121
*
122122
* Well, estemed reader, because the C++ standard doesn't have a better way to support overloads
123123
* that handle character pointers and literal strings differently. If the parameters were simply
124-
* <tt>(char const *, char const *)</tt> then a cosntruct like <tt>{ "really", "broken" }</tt> can
124+
* <tt>(char const *, char const *)</tt> then a construct like <tt>{ "really", "broken" }</tt> can
125125
* be interpreted as a @c TextView because the elements implicitly convert to <tt>char const
126126
* *</tt>. This makes no sense and creates some @b very annoying ambiguities for lists of strings
127127
* if there are exactly two in the list. See @c Lexicon for an example.

0 commit comments

Comments
 (0)