Fix documentation (to say the opposite).
authorThomas Schilling <nominolo@googlemail.com>
Mon, 10 Nov 2008 15:38:19 +0000 (15:38 +0000)
committerThomas Schilling <nominolo@googlemail.com>
Mon, 10 Nov 2008 15:38:19 +0000 (15:38 +0000)
compiler/basicTypes/SrcLoc.lhs

index dbff295..85b9b2e 100644 (file)
@@ -296,7 +296,7 @@ isGoodSrcSpan SrcSpanPoint{} = True
 isGoodSrcSpan _ = False
 
 isOneLineSpan :: SrcSpan -> Bool
--- ^ True if the span is known to straddle more than one line.
+-- ^ True if the span is known to straddle only one line.
 -- For "bad" 'SrcSpan', it returns False
 isOneLineSpan s
   | isGoodSrcSpan s = srcSpanStartLine s == srcSpanEndLine s