Fixing a comment.

This commit is contained in:
Jakub Sobon 2019-02-04 22:42:57 -05:00 committed by GitHub
parent 11ec278c1a
commit 35aeea2ddc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ func vAlign(rect image.Rectangle, ar image.Rectangle, v Vertical) (image.Rectang
), nil
}
// Rectangle aligns the rectangle within the provided area returning the
// Rectangle aligns the area within the rectangle returning the
// aligned area. The area must fall within the rectangle.
func Rectangle(rect image.Rectangle, ar image.Rectangle, h Horizontal, v Vertical) (image.Rectangle, error) {
if !ar.In(rect) {