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(
4646 buf
4747 } )
4848 . try_fold ( String :: new ( ) , |mut acc, buf : Result < String > | try {
49- write ! ( & mut acc, "\n {}" , buf?) ?;
49+ writeln ! ( & mut acc, "{}" , buf?) ?;
5050 acc
5151 } )
5252}
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ pub fn list_news(
4545 buf
4646 } )
4747 . try_fold ( String :: new ( ) , |mut acc, buf : Result < String > | try {
48- write ! ( & mut acc, "\n {}" , buf?) ?;
48+ writeln ! ( & mut acc, "{}" , buf?) ?;
4949 acc
5050 } )
5151}
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ pub fn list_fav(
4545 buf
4646 } )
4747 . try_fold ( String :: new ( ) , |mut acc, buf : Result < String > | try {
48- write ! ( & mut acc, "\n {}" , buf?) ?;
48+ writeln ! ( & mut acc, "{}" , buf?) ?;
4949 acc
5050 } )
5151}
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ pub fn list_news(
4444 buf
4545 } )
4646 . try_fold ( String :: new ( ) , |mut acc, buf : Result < String > | try {
47- write ! ( & mut acc, "\n {}" , buf?) ?;
47+ writeln ! ( & mut acc, "{}" , buf?) ?;
4848 acc
4949 } )
5050}
You can’t perform that action at this time.
0 commit comments