Skip to content

Commit 9492b9a

Browse files
Fix typos: horizonal -> horizontal (#131)
1 parent 01c86ce commit 9492b9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

path/src/rect.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -554,12 +554,12 @@ mod rect_tests {
554554
assert_eq!(rect.transform(ts).unwrap(), rect_ts);
555555

556556
// Skew box along x-axis - vertical lines at y=c go to y=c+x and
557-
// horizonal lines stay put. Result is bounding box
557+
// horizontal lines stay put. Result is bounding box
558558
let ts = Transform::from_skew(1.0, 0.0);
559559
let bounding_rect: Rect = Rect::from_ltrb(3.0, 2.0, 7.0, 4.0).unwrap();
560560
assert_eq!(rect.transform(ts).unwrap(), bounding_rect);
561561

562-
// Skew box along y-axis - horizonal lines at x=c go to x=c+2y
562+
// Skew box along y-axis - horizontal lines at x=c go to x=c+2y
563563
let ts = Transform::from_skew(0.0, 2.0);
564564
let bounding_rect: Rect = Rect::from_ltrb(1.0, 4.0, 3.0, 10.0).unwrap();
565565
assert_eq!(rect.transform(ts).unwrap(), bounding_rect);

0 commit comments

Comments
 (0)