From c4368fbcb56f06524d52fbdbbb984be772bb1f8c Mon Sep 17 00:00:00 2001 From: Jaro Date: Sun, 5 Mar 2023 01:23:06 +0100 Subject: [PATCH] Fix mistakes in documentation comments. --- src/Data/Text/ParagraphLayout/Rect.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Data/Text/ParagraphLayout/Rect.hs b/src/Data/Text/ParagraphLayout/Rect.hs index 035835d..7fc61d4 100644 --- a/src/Data/Text/ParagraphLayout/Rect.hs +++ b/src/Data/Text/ParagraphLayout/Rect.hs @@ -21,7 +21,7 @@ data Rect a = Rect { x_origin :: a, y_origin :: a, x_size :: a, y_size :: a } width :: Num a => Rect a -> a width r = abs $ x_size r --- | Absolute difference between the X coordinates of the rectangle's sides. +-- | Absolute difference between the Y coordinates of the rectangle's sides. height :: Num a => Rect a -> a height r = abs $ y_size r -- 2.30.2