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

Small style changes to --list-themes

This commit is contained in:
sharkdp
2018-08-28 19:48:07 +02:00
committed by David Peter
parent cda54e4f61
commit fd2b376ea0
2 changed files with 7 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
// Output the square of a number.
fn print_square(num: f64) {
let result = f64::powf(num, 2.0);
println!("The square of {:.2} is {:.2}.", num, result);
}
// Output the square of a number.
fn print_square(num: f64) {
let result = f64::powf(num, 2.0);
println!("The square of {:.2} is {:.2}.", num, result);
}