projects
/
litoprism.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e44bfe
)
Remove some debug messages
author
MegaBrutal
<code+git@megabrutal.com>
Mon, 18 Jul 2022 00:35:00 +0000
(
02:35
+0200)
committer
MegaBrutal
<code+git@megabrutal.com>
Mon, 18 Jul 2022 00:35:00 +0000
(
02:35
+0200)
src/main.rs
patch
|
blob
|
history
diff --git
a/src/main.rs
b/src/main.rs
index 7353da5665df4f873b89fb566f707861cf10c81d..55d89fe382dd2711f3a0126c9c650f07070e0073 100644
(file)
--- a/
src/main.rs
+++ b/
src/main.rs
@@
-111,7
+111,6
@@
fn to_imageresult<T> (result: Result<T, image::ImageError>) -> Result<T, ImageEr
}
fn to_canvasresult<T: std::fmt::Debug> (result: Result<T, ImageError>) -> Result<T, CanvasError> {
- println!("Converting to canvasresult: {:?}", result);
match result {
Ok(v) => Ok(v),
Err(e) => Err(CanvasError::ImageError(e))
@@
-168,7
+167,6
@@
fn rgb_encode_to_canvas(mut canvas: Canvas, data: &mut dyn Iterator<Item = u8>)
pixels.next().ok_or(ImageError::dimension_error())?
}
};
- println!("{:?}", sp);
dp.0 = sp.0;
counter += 1;
}