diff options
author | Akshay <[email protected]> | 2021-04-23 10:06:12 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2021-04-23 10:06:12 +0100 |
commit | 9d2aebbc713ab2a567af8554ada69e993aeac93b (patch) | |
tree | 673ff33d62f0d812d9b4b0aa40253bc62a43425b /src/lib.rs | |
parent | 937cf7dd4dc971ca4df56e131853ef6e7d88f725 (diff) |
apply clippy lints
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 | ||