diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/alloc_correct.rs | 2 | ||||
-rw-r--r-- | examples/basic.rs (renamed from examples/very_basic.rs) | 2 |
2 files changed, 2 insertions, 2 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}", diff --git a/examples/very_basic.rs b/examples/basic.rs index 33043b6..90b476a 100644 --- a/examples/very_basic.rs +++ b/examples/basic.rs @@ -2,7 +2,7 @@ fn main() { let mut my_buffer = vec![0; 1 << 20]; // hope this is big enough! let mut png = &include_bytes!("image.png")[..]; let image = tiny_png::read_png(&mut png, None, &mut my_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}", |