@@ -937,7 +937,7 @@ fn usage(verbose: bool, include_unstable_options: bool, nightly_build: bool) {
937937 let groups = if verbose { config:: rustc_optgroups( ) } else { config:: rustc_short_optgroups( ) } ;
938938 let mut options = getopts:: Options :: new( ) ;
939939 for option in groups. iter( ) . filter( |x| include_unstable_options || x. is_stable( ) ) {
940- ( option. apply) ( & mut options) ;
940+ option. apply( & mut options) ;
941941 }
942942 let message = "Usage: rustc [OPTIONS] INPUT" ;
943943 let nightly_help = if nightly_build {
@@ -1219,7 +1219,7 @@ pub fn handle_options(early_dcx: &EarlyDiagCtxt, args: &[String]) -> Option<geto
12191219 let mut options = getopts:: Options :: new( ) ;
12201220 let optgroups = config:: rustc_optgroups( ) ;
12211221 for option in & optgroups {
1222- ( option. apply) ( & mut options) ;
1222+ option. apply( & mut options) ;
12231223 }
12241224 let matches = options. parse( args) . unwrap_or_else( |e| {
12251225 let msg: Option <String > = match e {
@@ -1233,7 +1233,7 @@ pub fn handle_options(early_dcx: &EarlyDiagCtxt, args: &[String]) -> Option<geto
12331233 optgroups. iter( ) . find( |option| option. name == opt) . map( |option| {
12341234 // Print the help just for the option in question.
12351235 let mut options = getopts:: Options :: new( ) ;
1236- ( option. apply) ( & mut options) ;
1236+ option. apply( & mut options) ;
12371237 // getopt requires us to pass a function for joining an iterator of
12381238 // strings, even though in this case we expect exactly one string.
12391239 options. usage_with_format( |it| {
0 commit comments