summaryrefslogtreecommitdiff
path: root/examples/alloc_correct.rs
diff options
context:
space:
mode:
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}",