diff options
Diffstat (limited to 'src/utils.rs')
-rw-r--r-- | src/utils.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.rs b/src/utils.rs index 6819e71..bee5782 100644 --- a/src/utils.rs +++ b/src/utils.rs | |||
@@ -106,5 +106,5 @@ pub fn load_file<P: AsRef<Path>>(path: P) -> Result<Image, io::Error> { | |||
106 | .open(&path)?; | 106 | .open(&path)?; |
107 | let mut buf = Vec::new(); | 107 | let mut buf = Vec::new(); |
108 | image.read_to_end(&mut buf)?; | 108 | image.read_to_end(&mut buf)?; |
109 | Ok(Image::decode(&mut (Cursor::new(buf))).unwrap()) // TODO: obi erro | 109 | Ok(Image::decode(&mut (Cursor::new(buf))).unwrap()) // TODO: obi error |
110 | } | 110 | } |