@@ -65,32 +65,33 @@ impl Tool {
65
65
nightly_branch,
66
66
} = & self . config ;
67
67
68
- file_content. push_str ( & format ! ( "dist_server={}" , dist_server) ) ;
69
- file_content. push_str ( & format ! ( "\n artifacts_server ={}" , artifacts_server) ) ;
68
+ file_content. push_str ( & format ! ( "dist_server={}\n " , dist_server) ) ;
69
+ file_content. push_str ( & format ! ( "artifacts_server ={}\n " , artifacts_server) ) ;
70
70
file_content. push_str ( & format ! (
71
- "\n artifacts_with_llvm_assertions_server ={}" ,
71
+ "artifacts_with_llvm_assertions_server ={}\n " ,
72
72
artifacts_with_llvm_assertions_server
73
73
) ) ;
74
- file_content. push_str ( & format ! ( "\n git_merge_commit_email ={}" , git_merge_commit_email) ) ;
75
- file_content. push_str ( & format ! ( "\n git_repository ={}" , git_repository) ) ;
76
- file_content. push_str ( & format ! ( "\n nightly_branch ={}" , nightly_branch) ) ;
74
+ file_content. push_str ( & format ! ( "git_merge_commit_email ={}\n " , git_merge_commit_email) ) ;
75
+ file_content. push_str ( & format ! ( "git_repository ={}\n " , git_repository) ) ;
76
+ file_content. push_str ( & format ! ( "nightly_branch ={}\n " , nightly_branch) ) ;
77
77
78
- file_content. push_str ( "\n \n " ) ;
78
+ file_content. push_str ( "\n " ) ;
79
79
file_content. push_str ( COMMENTS ) ;
80
+ file_content. push_str ( "\n " ) ;
80
81
81
82
let compiler = self . detect_compiler ( ) ?;
82
- file_content. push_str ( & format ! ( "\n compiler_date ={}" , compiler. date) ) ;
83
- file_content. push_str ( & format ! ( "\n compiler_version ={}" , compiler. version) ) ;
83
+ file_content. push_str ( & format ! ( "compiler_date ={}\n " , compiler. date) ) ;
84
+ file_content. push_str ( & format ! ( "compiler_version ={}\n " , compiler. version) ) ;
84
85
85
86
if let Some ( rustfmt) = self . detect_rustfmt ( ) ? {
86
- file_content. push_str ( & format ! ( "\n rustfmt_date ={}" , rustfmt. date) ) ;
87
- file_content. push_str ( & format ! ( "\n rustfmt_version ={}" , rustfmt. version) ) ;
87
+ file_content. push_str ( & format ! ( "rustfmt_date ={}\n " , rustfmt. date) ) ;
88
+ file_content. push_str ( & format ! ( "rustfmt_version ={}\n " , rustfmt. version) ) ;
88
89
}
89
90
90
91
file_content. push_str ( "\n " ) ;
91
92
92
93
for ( key, value) in self . checksums {
93
- file_content. push_str ( & format ! ( "\n {}={}" , key, value) ) ;
94
+ file_content. push_str ( & format ! ( "{}={}\n " , key, value) ) ;
94
95
}
95
96
96
97
std:: fs:: write ( PATH , file_content) ?;
0 commit comments