summaryrefslogtreecommitdiff
path: root/examples/alloc_correct.rs
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-09-04 18:46:27 -0400
committerpommicket <pommicket@gmail.com>2023-09-04 18:46:27 -0400
commit26befe536c56d0e8ff47d07bdc1d64086fdc0394 (patch)
tree9fe96174d6f82371de6e1763a6205f5cdf974c83 /examples/alloc_correct.rs
parent7f7c4845e0ad01b229f30769708fad5fe7f72e1e (diff)
adler feature, etc.
Diffstat (limited to 'examples/alloc_correct.rs')
-rw-r--r--examples/alloc_correct.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/alloc_correct.rs b/examples/alloc_correct.rs
index 6711a1c..7be3a2c 100644
--- a/examples/alloc_correct.rs
+++ b/examples/alloc_correct.rs
@@ -4,7 +4,7 @@ fn main() {
println!("need {} bytes of memory", header.required_bytes());
let mut buffer = vec![0; header.required_bytes()];
let image = tiny_png::read_png(&mut png, Some(&header), &mut buffer).expect("bad PNG");
- println!("{}x{} image", image.width(), image.height());
+ println!("{}×{} image", image.width(), image.height());
let pixels = image.pixels();
println!(
"top-left pixel is #{:02x}{:02x}{:02x}",