@@ -290,7 +290,7 @@ pub fn install(no_prompt: bool, verbose: bool, mut opts: InstallOpts) -> Result<
290290 // the user an opportunity to see the error before the
291291 // window closes.
292292 if cfg ! ( windows) && !no_prompt {
293- println ! ( "" ) ;
293+ println ! ( ) ;
294294 println ! ( "Press the Enter key to continue." ) ;
295295 common:: read_line ( ) ?;
296296 }
@@ -325,7 +325,7 @@ pub fn install(no_prompt: bool, verbose: bool, mut opts: InstallOpts) -> Result<
325325 // that may have opened just for this purpose, require
326326 // the user to press a key to continue.
327327 if cfg ! ( windows) {
328- println ! ( "" ) ;
328+ println ! ( ) ;
329329 println ! ( "Press the Enter key to continue." ) ;
330330 common:: read_line ( ) ?;
331331 }
@@ -650,7 +650,7 @@ fn customize_install(mut opts: InstallOpts) -> Result<InstallOpts> {
650650 You may simply press the Enter key to leave unchanged."
651651 ) ;
652652
653- println ! ( "" ) ;
653+ println ! ( ) ;
654654
655655 opts. default_host_triple =
656656 common:: question_str ( "Default host triple?" , & opts. default_host_triple ) ?;
@@ -800,18 +800,18 @@ fn maybe_install_rust(toolchain_str: &str, default_host_triple: &str, verbose: b
800800 // possible to select a toolchain then have it not be installed.
801801 if toolchain_str == "none" {
802802 info ! ( "skipping toolchain installation" ) ;
803- println ! ( "" ) ;
803+ println ! ( ) ;
804804 } else if cfg. find_default ( ) ?. is_none ( ) {
805805 // Set host triple first as it will affect resolution of toolchain_str
806806 cfg. set_default_host_triple ( default_host_triple) ?;
807807 let toolchain = cfg. get_toolchain ( toolchain_str, false ) ?;
808808 let status = toolchain. install_from_dist ( false ) ?;
809809 cfg. set_default ( toolchain_str) ?;
810- println ! ( "" ) ;
810+ println ! ( ) ;
811811 common:: show_channel_update ( cfg, toolchain_str, Ok ( status) ) ?;
812812 } else {
813813 info ! ( "updating existing rustup installation" ) ;
814- println ! ( "" ) ;
814+ println ! ( ) ;
815815 }
816816
817817 Ok ( ( ) )
@@ -846,7 +846,7 @@ pub fn uninstall(no_prompt: bool) -> Result<()> {
846846 }
847847
848848 if !no_prompt {
849- println ! ( "" ) ;
849+ println ! ( ) ;
850850 let ref msg = format ! ( pre_uninstall_msg!( ) , cargo_home = canonical_cargo_home( ) ?) ;
851851 term2:: stdout ( ) . md ( msg) ;
852852 if !common:: confirm ( "\n Continue? (y/N)" , false ) ? {
0 commit comments