Skip to content

Commit

Permalink
Update color.h (#2815)
Browse files Browse the repository at this point in the history
fixed typo in comment
  • Loading branch information
jacomemateo authored Mar 17, 2022
1 parent c51604a commit 6939634
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fmt/color.h
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ struct formatter<detail::styled_arg<T>, Char> : formatter<T, Char> {
**Example**::
fmt::print("Elapsed time: {s:.2f} seconds",
fmt::styled(1.23, fmt::fg(fmt::colors::green) | fmt::bg(fmt::color::blue)));
fmt::styled(1.23, fmt::fg(fmt::color::green) | fmt::bg(fmt::color::blue)));
\endrst
*/
template <typename T>
Expand Down

0 comments on commit 6939634

Please sign in to comment.