aboutsummaryrefslogtreecommitdiff
path: root/src/core/bound.rs
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2021-02-13 19:58:54 +0100
committerJulian T <julian@jtle.dk>2021-02-13 19:58:54 +0100
commitc695da871a75bb6786c08c3546ef71ed032bd61d (patch)
tree65aab566368bbe68af775bbbdd22ee5b0963ffbd /src/core/bound.rs
parent14f7b47f2c2315d0de5e52d31c57fe07a15d08ad (diff)
Fixed test and compile warnings
Diffstat (limited to 'src/core/bound.rs')
-rw-r--r--src/core/bound.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/bound.rs b/src/core/bound.rs
index 3978028..37918d4 100644
--- a/src/core/bound.rs
+++ b/src/core/bound.rs
@@ -128,7 +128,7 @@ mod tests {
let b1 = Bound2i::new_xyxy(10, 10, 20, 20);
let b2 = Bound2i::new_xyxy(2, 11, 22, 17);
- let b = intersect(&b1, &b2);
+ let b = b1.intersect(&b2);
assert!(
b.min.x == 10 &&