We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bec00da commit 8f84089Copy full SHA for 8f84089
src/rect.rs
@@ -200,10 +200,10 @@ mod proptests {
200
(x2, y2) in (-50..50, -50..50),
201
(w2, h2) in (1..50u32, 1..50u32),
202
) {
203
- let left = Rect::at(x1, y1).of_size(w1, h1);
204
- let right = Rect::at(x2, y2).of_size(w2, h2);
+ let rect1 = Rect::at(x1, y1).of_size(w1, h1);
+ let rect2 = Rect::at(x2, y2).of_size(w2, h2);
205
206
- if let Some(intersect) = left.intersect(right) {
+ if let Some(intersect) = rect1.intersect(rect2) {
207
assert!(intersect.width() > 0);
208
assert!(intersect.height() > 0);
209
};
0 commit comments