[commit: packages/pretty] master: fix a comment that confuses Haddock (1b06c69)

git at git.haskell.org git at git.haskell.org
Wed Dec 16 07:11:57 UTC 2015


Repository : ssh://git@git.haskell.org/pretty

On branch  : master
Link       : http://git.haskell.org/packages/pretty.git/commitdiff/1b06c695fb56d360afa39fdc47c67c0fe06b0825

>---------------------------------------------------------------

commit 1b06c695fb56d360afa39fdc47c67c0fe06b0825
Author: Ömer Sinan Ağacan <omeragacan at gmail.com>
Date:   Fri Mar 13 17:54:23 2015 -0400

    fix a comment that confuses Haddock


>---------------------------------------------------------------

1b06c695fb56d360afa39fdc47c67c0fe06b0825
 src/Text/PrettyPrint/Annotated/HughesPJ.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Text/PrettyPrint/Annotated/HughesPJ.hs b/src/Text/PrettyPrint/Annotated/HughesPJ.hs
index 8670fbd..dfc48dd 100644
--- a/src/Text/PrettyPrint/Annotated/HughesPJ.hs
+++ b/src/Text/PrettyPrint/Annotated/HughesPJ.hs
@@ -1079,7 +1079,7 @@ renderSpans  = finalize
 
   mkSpan a end start = Span { spanStart      = start
                             , spanLength     = start - end
-                              -- ^ this seems wrong, but remember that it's
+                              -- this seems wrong, but remember that it's
                               -- working backwards at this point
                             , spanAnnotation = a }
 



More information about the ghc-commits mailing list