2
0
mirror of https://github.com/sharkdp/bat synced 2024-11-18 15:26:16 +00:00

Fix sample.modified.rs

This commit is contained in:
eth-p 2018-09-11 15:03:13 -07:00
parent 1807f9653c
commit 503fe0b641
No known key found for this signature in database
GPG Key ID: 1F8DF8091CD46FBC

View File

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