mirror of https://github.com/sharkdp/bat
Fix bug for file with invalid-utf8 filenames
parent
47abb192bc
commit
82e20bfe14
@ -0,0 +1,4 @@
|
||||
fn print_square(num: f64) {
|
||||
let result = f64::powf(num, 2.0);
|
||||
println!("The square of {:.2} is {:.2}.", num, result);
|
||||
}
|
Loading…
Reference in New Issue