mirror of
https://github.com/sharkdp/bat
synced 2026-08-08 19:41:45 +00:00
Fix bug for file with invalid-utf8 filenames
This commit is contained in:
+4
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user