[clang-tidy] Fix an error in .rst
authorAlexander Kornienko <alexfh@google.com>
Mon, 8 Feb 2016 15:09:34 +0000 (15:09 +0000)
committerAlexander Kornienko <alexfh@google.com>
Mon, 8 Feb 2016 15:09:34 +0000 (15:09 +0000)
llvm-svn: 260099

clang-tools-extra/docs/clang-tidy/checks/misc-incorrect-roundings.rst

index abe70b4..fa27807 100644 (file)
@@ -2,8 +2,10 @@ misc-incorrect-roundings
 ========================
 
 Checks the usage of patterns known to produce incorrect rounding.
-Programmers often use
-  (int)(double_expression + 0.5)
+Programmers often use::
+
+   (int)(double_expression + 0.5)
+
 to round the double expression to an integer. The problem with this:
 
 1. It is unnecessarily slow.