aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 2eb01a9..05070cb 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -137,7 +137,7 @@ impl Image {
137 if x >= self.width() || y >= self.height() { 137 if x >= self.width() || y >= self.height() {
138 Err(OBIError::Image) 138 Err(OBIError::Image)
139 } else { 139 } else {
140 return Ok((y * self.width() + x) as usize); 140 Ok((y * self.width() + x) as usize)
141 } 141 }
142 } 142 }
143 143