File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ pub fn list_fav(
46
46
buf
47
47
} )
48
48
. try_fold ( String :: new ( ) , |mut acc, buf : Result < String > | try {
49
- write ! ( & mut acc, "\n {}" , buf?) ?;
49
+ writeln ! ( & mut acc, "{}" , buf?) ?;
50
50
acc
51
51
} )
52
52
}
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ pub fn list_news(
45
45
buf
46
46
} )
47
47
. try_fold ( String :: new ( ) , |mut acc, buf : Result < String > | try {
48
- write ! ( & mut acc, "\n {}" , buf?) ?;
48
+ writeln ! ( & mut acc, "{}" , buf?) ?;
49
49
acc
50
50
} )
51
51
}
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ pub fn list_fav(
45
45
buf
46
46
} )
47
47
. try_fold ( String :: new ( ) , |mut acc, buf : Result < String > | try {
48
- write ! ( & mut acc, "\n {}" , buf?) ?;
48
+ writeln ! ( & mut acc, "{}" , buf?) ?;
49
49
acc
50
50
} )
51
51
}
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ pub fn list_news(
44
44
buf
45
45
} )
46
46
. try_fold ( String :: new ( ) , |mut acc, buf : Result < String > | try {
47
- write ! ( & mut acc, "\n {}" , buf?) ?;
47
+ writeln ! ( & mut acc, "{}" , buf?) ?;
48
48
acc
49
49
} )
50
50
}
You can’t perform that action at this time.
0 commit comments