]> granicus.if.org Git - llvm/commitdiff
[docs] Fix yet another Error docs formatting issue...
authorLang Hames <lhames@gmail.com>
Tue, 25 Oct 2016 22:38:50 +0000 (22:38 +0000)
committerLang Hames <lhames@gmail.com>
Tue, 25 Oct 2016 22:38:50 +0000 (22:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285137 91177308-0d34-0410-b5e6-96231b3b80d8

docs/ProgrammersManual.rst

index b5386d0b5b691cc1d74f9467844c404c8d2af58a..c1081f199bb6aedd9c0f69efede919433f46a15b 100644 (file)
@@ -399,7 +399,8 @@ operator. If failure, the ``Error`` value can be extracted using the
       // On success, grab a reference to the file and continue.
       auto &File = *FileOrErr;
       // ...
-    } else
    // On error, extract the Error value and return it.
+    } else
+      // On error, extract the Error value and return it.
       return FileOrErr.takeError();
   }