Skip to content

Commit 4088eda

Browse files
committed
Fix doc
1 parent 7ca1fe9 commit 4088eda

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

clang-tools-extra/docs/clang-tidy/checks/modernize/use-std-format.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ into:
2222
return std::format("The {} is {:3}", description, value);
2323

2424
The check uses the same format-string-conversion algorithm as
25-
`modernize-use-std-print <../modernize/use-std-print.html>`_ and its
25+
:doc:`modernize-use-std-print <../modernize/use-std-print>` and its
2626
shortcomings and behaviour in combination with macros are described in the
2727
documentation for that check.
2828

clang-tools-extra/docs/clang-tidy/checks/modernize/use-std-print.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ Converts calls to ``printf``, ``fprintf``, ``absl::PrintF`` and
99
The replaced and replacement functions can be customised by configuration
1010
options. Each argument that is the result of a call to
1111
``std::string::c_str()`` and ``std::string::data()`` will have that
12-
now-unnecessary call removed in a similar manner to the
13-
`readability-redundant-string-cstr
14-
<../readability/redundant-string-cstr>` check.
12+
now-unnecessary call removed in a similar manner to the
13+
:doc:`readability-redundant-string-cstr
14+
<../readability/redundant-string-cstr>` check.
1515

1616
In other words, it turns lines like:
1717

0 commit comments

Comments
 (0)