1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-09-04 04:12:31 +01:00

Add line with invalid UTF-8

This commit is contained in:
Ezinwa Okpoechi
2018-05-18 11:35:52 +02:00
committed by David Peter
parent c826c2a438
commit d0782ef954
18 changed files with 99 additions and 81 deletions

View File

@@ -10,6 +10,7 @@ fn main() {
"The perimeter of the rectangle is {} pixels.",
perimeter(&rect1)
);
println!(r#"This line contains invalid utf8: "<22><><EFBFBD><EFBFBD><EFBFBD>"#;
}
fn area(rectangle: &Rectangle) -> u32 {