From 75444670c1d630064b2c01f791934aea48b67190 Mon Sep 17 00:00:00 2001 From: matrackif Date: Sat, 4 Dec 2021 19:41:39 +0100 Subject: [PATCH] Remove extra forward slash in doxygen style comment Co-authored-by: Victor Zverovich --- include/fmt/chrono.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/fmt/chrono.h b/include/fmt/chrono.h index 3b1c0fc5..b5ee0c9a 100644 --- a/include/fmt/chrono.h +++ b/include/fmt/chrono.h @@ -1390,9 +1390,9 @@ inline std::chrono::duration get_milliseconds( } template class subsecond_helper { - /// Returns the amount of digits according to the c++ 20 spec - /// In the range [0, 18], if more than 18 fractional digits are required, - /// then we return 6 for microseconds precision + // Returns the amount of digits according to the c++ 20 spec + // In the range [0, 18], if more than 18 fractional digits are required, + // then we return 6 for microseconds precision static constexpr int num_digits(std::intmax_t num, std::intmax_t den, int n = 0) { return num % den == 0 ? n : (n > 18 ? 6 : num_digits(num * 10, den, n + 1));