aboutsummaryrefslogtreecommitdiff
path: root/src/core/bound.rs
diff options
context:
space:
mode:
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 &&