From 157dd08f2963c2365977ec21176cd343f6ed67f1 Mon Sep 17 00:00:00 2001 From: Corbin Date: Fri, 30 Nov 2018 17:36:42 -0800 Subject: [PATCH] Fix some minor trailing whitespace. --- src/Servant/PY/Internal.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Servant/PY/Internal.hs b/src/Servant/PY/Internal.hs index b40b0dc..5bb7ac0 100644 --- a/src/Servant/PY/Internal.hs +++ b/src/Servant/PY/Internal.hs @@ -339,12 +339,12 @@ buildDocString (UnTypedPythonRequest req) opts returnVal = buildDocString' req o buildDocString' :: forall f. Req f -> CommonGeneratorOptions -> [Text] -> Text -> Text buildDocString' req opts args returnVal = T.toUpper method <> " \"" <> url <> "\n" <> includeArgs <> "\n\n" - <> indent' <> "Returns: " <> "\n" + <> indent' <> "Returns:\n" <> indent' <> indent' <> returnVal where method = decodeUtf8 $ req ^. reqMethod url = getSegments $ req ^.. reqUrl.path.traverse includeArgs = if null args then "" else argDocs - argDocs = indent' <> "Args: " <> "\n" + argDocs = indent' <> "Args:\n" <> indent' <> indent' <> T.intercalate ("\n" <> indent' <> indent') args indent' = indentation opts indent