Don't pass seconds as a double in examples

This commit is contained in:
Victor Zverovich committed 2024-06-15 09:26:49 -07:00
1 parent ea1187f4c8
commit 2a2048a785
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -4321,7 +4321,7 @@ inline namespace literals {
* **Example**:
*
* using namespace fmt::literals;
* fmt::print("Elapsed time: {s:.2f} seconds", "s"_a=1.23);
* fmt::print("The answer is {answer}.", "answer"_a=42);
*/
# if FMT_USE_NONTYPE_TEMPLATE_ARGS
template <detail_exported::fixed_string Str> constexpr auto operator""_a() {