Skip to content

Commit ee68b7c

Browse files
authored
Merge pull request #1694 from snowcra5h/patch-1
Remove extra newline in documentation
2 parents 5020979 + 6639065 commit ee68b7c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/hello/print.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ fn main() {
3939
println!("Base 16 (hexadecimal): {:x}", 69420); // 10f2c
4040
println!("Base 16 (hexadecimal): {:X}", 69420); // 10F2C
4141
42-
4342
// You can right-justify text with a specified width. This will
4443
// output " 1". (Four white spaces and a "1", for a total width of 5.)
4544
println!("{number:>5}", number=1);
@@ -51,7 +50,6 @@ fn main() {
5150
// You can use named arguments in the format specifier by appending a `$`.
5251
println!("{number:0>width$}", number=1, width=5);
5352
54-
5553
// Rust even checks to make sure the correct number of arguments are used.
5654
println!("My name is {0}, {1} {0}", "Bond");
5755
// FIXME ^ Add the missing argument: "James"

0 commit comments

Comments
 (0)