Skip to content

Commit 8f84089

Browse files
committed
rename variable
1 parent bec00da commit 8f84089

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/rect.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,10 +200,10 @@ mod proptests {
200200
(x2, y2) in (-50..50, -50..50),
201201
(w2, h2) in (1..50u32, 1..50u32),
202202
) {
203-
let left = Rect::at(x1, y1).of_size(w1, h1);
204-
let right = Rect::at(x2, y2).of_size(w2, h2);
203+
let rect1 = Rect::at(x1, y1).of_size(w1, h1);
204+
let rect2 = Rect::at(x2, y2).of_size(w2, h2);
205205

206-
if let Some(intersect) = left.intersect(right) {
206+
if let Some(intersect) = rect1.intersect(rect2) {
207207
assert!(intersect.width() > 0);
208208
assert!(intersect.height() > 0);
209209
};

0 commit comments

Comments
 (0)