diff options
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 | ||