Skip to content

Commit 56605dc

Browse files
committed
polish
1 parent d20373b commit 56605dc

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/main.rs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@ const KB: u16 = 1024;
2020
const MB: u32 = 1024_u32.pow(2);
2121
const GB: u32 = 1024_u32.pow(3);
2222

23-
const NUMS: [&'static str; 12] = [" ", "\n", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9"];
23+
const NUMS: [&'static str; 13] = [
24+
" ", "\n", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", " ",
25+
];
2426
const LOREM: [&'static str; 12] = [
25-
// fill file with this random 'lorem ipsum' like content
27+
// fill file with random 'lorem ipsum' like content
2628
" ",
2729
"\n",
2830
"et",
@@ -436,7 +438,7 @@ fn gerf() -> Command {
436438
}
437439

438440
fn examples() {
439-
println!("{}\n----------", "Example 1".bold());
441+
println!("\n{}\n----------", "Example 1".bold());
440442
println!(
441443
r###"
442444
- generate a file with the default name 'gerf.txt' with a size of 100 Bytes
@@ -445,7 +447,7 @@ $ gerf 100
445447
"###
446448
);
447449

448-
println!("{}\n----------", "Example 2".bold());
450+
println!("\n{}\n----------", "Example 2".bold());
449451
println!(
450452
r###"
451453
- generate a file with a custom name 'wasd.md' and with a size of 12 MB

0 commit comments

Comments
 (0)