From 41965a8963d5ae0a5ae2b0af22b1839fc3a6ec50 Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Tue, 25 Oct 2016 22:38:50 +0000 Subject: [PATCH] [docs] Fix yet another Error docs formatting issue... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285137 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/ProgrammersManual.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/ProgrammersManual.rst b/docs/ProgrammersManual.rst index b5386d0b5b6..c1081f199bb 100644 --- a/docs/ProgrammersManual.rst +++ b/docs/ProgrammersManual.rst @@ -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(); } -- 2.40.0