diff --git a/clang-tools-extra/docs/clang-tidy/checks/modernize/use-std-format.rst b/clang-tools-extra/docs/clang-tidy/checks/modernize/use-std-format.rst index 1ec753ef090de1..b88fde5162e28c 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/modernize/use-std-format.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/modernize/use-std-format.rst @@ -43,7 +43,7 @@ Options extern std::string strprintf(const char *format, ...); int i = -42; unsigned int u = 0xffffffff; - return strprintf("%d %u\n", i, u); + return strprintf("%u %d\n", i, u); would be converted to diff --git a/clang-tools-extra/docs/clang-tidy/checks/modernize/use-std-print.rst b/clang-tools-extra/docs/clang-tidy/checks/modernize/use-std-print.rst index 59bb722e2c24fc..e70402ad8b3341 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/modernize/use-std-print.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/modernize/use-std-print.rst @@ -103,7 +103,7 @@ Options int i = -42; unsigned int u = 0xffffffff; - printf("%d %u\n", i, u); + printf("%u %d\n", i, u); would be converted to: