aboutsummaryrefslogtreecommitdiff
path: root/src/bitmap.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bitmap.rs')
-rw-r--r--src/bitmap.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitmap.rs b/src/bitmap.rs
index ba5c8f1..0b1754a 100644
--- a/src/bitmap.rs
+++ b/src/bitmap.rs
@@ -306,7 +306,7 @@ impl Pixmap<bool> {
306 } 306 }
307} 307}
308 308
309fn abs_difference<T: Sub<Output = T> + Ord>(x: T, y: T) -> T { 309pub fn abs_difference<T: Sub<Output = T> + Ord>(x: T, y: T) -> T {
310 if x < y { 310 if x < y {
311 y - x 311 y - x
312 } else { 312 } else {