Skip to content

Commit 98bbb18

Browse files
committed
add trailing period
1 parent 9419136 commit 98bbb18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/scala/introprog/Image.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package introprog
22

3-
/** Companion object to create Image instances */
3+
/** Companion object to create Image instances. */
44
object Image:
55
import java.awt.image.BufferedImage
66
/** Create new empty Image with specified dimensions `(width, height)`*/
@@ -23,7 +23,7 @@ class Image (val underlying: java.awt.image.BufferedImage):
2323
for x <- 0 until width; y <- 0 until height do
2424
update(x, y, f(x, y))
2525

26-
/** Set color of pixels by passing `f(x, y)` and return self*/
26+
/** Set color of pixels by passing `f(x, y)` and return self. */
2727
def updated(f: (Int, Int) => Color): Image =
2828
for x <- 0 until width; y <- 0 until height do
2929
update(x, y, f(x, y))

0 commit comments

Comments
 (0)