Skip to content

Commit ebbe45e

Browse files
committed
xo-flatstring: comment consistency
1 parent a15025e commit ebbe45e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

include/xo/flatstring/flatstring.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ namespace xo {
491491
///@}
492492
};
493493

494-
/** @brief sentinel type, for forbidden stringliteral with no space for a null terminator **/
494+
/** @brief sentinel type, for forbidden flatstring with no space for a null terminator **/
495495
template <>
496496
struct flatstring<0> { flatstring() = delete; };
497497

@@ -584,7 +584,7 @@ namespace xo {
584584
*
585585
* Example:
586586
* @code
587-
* constexpr auto cmp = flatstring_compare(stringliteral("foo"), stringliteral("bar"));
587+
* constexpr auto cmp = flatstring_compare(flatstring("foo"), flatstring("bar"));
588588
* static_assert(cmp > 0);
589589
* @endcode
590590
**/
@@ -638,4 +638,4 @@ namespace xo {
638638
///@}
639639
} /*namespace xo*/
640640

641-
/** end stringliteral.hpp **/
641+
/** end flatstring.hpp **/

0 commit comments

Comments
 (0)