File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -226,7 +226,7 @@ fn make_win_dist(
226
226
let trim_chars: & [ _ ] = & [ ' ' , '=' ] ;
227
227
let value =
228
228
line[ ( idx + 1 ) ..]
229
- . trim_left_matches ( trim_chars)
229
+ . trim_start_matches ( trim_chars)
230
230
. split ( ';' )
231
231
. map ( PathBuf :: from) ;
232
232
Original file line number Diff line number Diff line change @@ -423,7 +423,7 @@ impl Build {
423
423
Command :: new ( & build. initial_rustc ) . arg ( "--version" ) . arg ( "--verbose" ) ) ;
424
424
let local_release = local_version_verbose
425
425
. lines ( ) . filter ( |x| x. starts_with ( "release:" ) )
426
- . next ( ) . unwrap ( ) . trim_left_matches ( "release:" ) . trim ( ) ;
426
+ . next ( ) . unwrap ( ) . trim_start_matches ( "release:" ) . trim ( ) ;
427
427
let my_version = channel:: CFG_RELEASE_NUM ;
428
428
if local_release. split ( '.' ) . take ( 2 ) . eq ( my_version. split ( '.' ) . take ( 2 ) ) {
429
429
build. verbose ( & format ! ( "auto-detected local-rebuild {}" , local_release) ) ;
You can’t perform that action at this time.
0 commit comments