@@ -54,7 +54,7 @@ impl ConfigFile {
5454 config. gcc_path = Some ( value. as_str ( ) . to_string ( ) )
5555 }
5656 ( "gcc-path" , _) => {
57- return failed_config_parsing ( config_file, "Expected a string for `gcc-path`" )
57+ return failed_config_parsing ( config_file, "Expected a string for `gcc-path`" ) ;
5858 }
5959 ( "download-gccjit" , TomlValue :: Boolean ( value) ) => {
6060 config. download_gccjit = Some ( * value)
@@ -63,7 +63,7 @@ impl ConfigFile {
6363 return failed_config_parsing (
6464 config_file,
6565 "Expected a boolean for `download-gccjit`" ,
66- )
66+ ) ;
6767 }
6868 _ => return failed_config_parsing ( config_file, & format ! ( "Unknown key `{}`" , key) ) ,
6969 }
@@ -73,7 +73,7 @@ impl ConfigFile {
7373 return failed_config_parsing (
7474 config_file,
7575 "At least one of `gcc-path` or `download-gccjit` value must be set" ,
76- )
76+ ) ;
7777 }
7878 ( Some ( _) , Some ( true ) ) => {
7979 println ! (
@@ -144,7 +144,7 @@ impl ConfigInfo {
144144 _ => {
145145 return Err (
146146 "Expected a value after `--target-triple`, found nothing" . to_string ( )
147- )
147+ ) ;
148148 }
149149 } ,
150150 "--out-dir" => match args. next ( ) {
@@ -158,7 +158,7 @@ impl ConfigInfo {
158158 self . config_file = Some ( arg. to_string ( ) ) ;
159159 }
160160 _ => {
161- return Err ( "Expected a value after `--config-file`, found nothing" . to_string ( ) )
161+ return Err ( "Expected a value after `--config-file`, found nothing" . to_string ( ) ) ;
162162 }
163163 } ,
164164 "--release-sysroot" => self . sysroot_release_channel = true ,
@@ -169,7 +169,7 @@ impl ConfigInfo {
169169 self . cg_gcc_path = Some ( arg. into ( ) ) ;
170170 }
171171 _ => {
172- return Err ( "Expected a value after `--cg_gcc-path`, found nothing" . to_string ( ) )
172+ return Err ( "Expected a value after `--cg_gcc-path`, found nothing" . to_string ( ) ) ;
173173 }
174174 } ,
175175 "--use-backend" => match args. next ( ) {
@@ -277,7 +277,7 @@ impl ConfigInfo {
277277 self . gcc_path = match gcc_path {
278278 Some ( path) => path,
279279 None => {
280- return Err ( format ! ( "missing `gcc-path` value from `{}`" , config_file. display( ) , ) )
280+ return Err ( format ! ( "missing `gcc-path` value from `{}`" , config_file. display( ) , ) ) ;
281281 }
282282 } ;
283283 Ok ( ( ) )
0 commit comments