Skip to content

Commit

Permalink
Fix comment typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
SolidWallOfCode committed Nov 9, 2023
1 parent 7eb4786 commit c2c13c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/include/swoc/TextView.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class TextView : public std::string_view {
*
* Well, estemed reader, because the C++ standard doesn't have a better way to support overloads
* that handle character pointers and literal strings differently. If the parameters were simply
* <tt>(char const *, char const *)</tt> then a cosntruct like <tt>{ "really", "broken" }</tt> can
* <tt>(char const *, char const *)</tt> then a construct like <tt>{ "really", "broken" }</tt> can
* be interpreted as a @c TextView because the elements implicitly convert to <tt>char const
* *</tt>. This makes no sense and creates some @b very annoying ambiguities for lists of strings
* if there are exactly two in the list. See @c Lexicon for an example.
Expand Down

0 comments on commit c2c13c9

Please sign in to comment.