@@ -27,16 +27,16 @@ static NON_BASE_TARGETS: &[&str] = &[
2727fn build ( package : & str , target : & str , features : & [ & str ] ) {
2828 println ! ( "building {} for {} {:?}" , package, target, features) ;
2929 let mut cargo = Command :: new ( "cargo" ) ;
30- cargo. args ( & [ "build" , "-p" , package, "--target" , target] ) ;
30+ cargo. args ( [ "build" , "-p" , package, "--target" , target] ) ;
3131 for feat in features {
32- cargo. args ( & [ "--features" , * feat] ) ;
32+ cargo. args ( [ "--features" , * feat] ) ;
3333 }
3434
3535 // A `critical_section` implementation is always needed.
3636 if package == "cortex-m" {
37- cargo. args ( & [ "--features" , "critical-section-single-core" ] ) ;
37+ cargo. args ( [ "--features" , "critical-section-single-core" ] ) ;
3838 } else {
39- cargo. args ( & [ "--features" , "cortex-m/critical-section-single-core" ] ) ;
39+ cargo. args ( [ "--features" , "cortex-m/critical-section-single-core" ] ) ;
4040 }
4141
4242 // Cargo features don't work right when invoked from the workspace root, so change to the
@@ -77,7 +77,7 @@ fn check_crates_build(_is_nightly: bool) {
7777 let used_features = & * all_features
7878 . iter ( )
7979 . copied ( )
80- . filter ( |feat| should_use_feature ( * feat) )
80+ . filter ( |feat| should_use_feature ( feat) )
8181 . collect :: < Vec < _ > > ( ) ;
8282
8383 // (note: we don't test with default features disabled, since we don't use them yet)
0 commit comments