File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 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(
226226 let trim_chars: & [ _ ] = & [ ' ' , '=' ] ;
227227 let value =
228228 line[ ( idx + 1 ) ..]
229- . trim_left_matches ( trim_chars)
229+ . trim_start_matches ( trim_chars)
230230 . split ( ';' )
231231 . map ( PathBuf :: from) ;
232232
Original file line number Diff line number Diff line change @@ -423,7 +423,7 @@ impl Build {
423423 Command :: new ( & build. initial_rustc ) . arg ( "--version" ) . arg ( "--verbose" ) ) ;
424424 let local_release = local_version_verbose
425425 . lines ( ) . filter ( |x| x. starts_with ( "release:" ) )
426- . next ( ) . unwrap ( ) . trim_left_matches ( "release:" ) . trim ( ) ;
426+ . next ( ) . unwrap ( ) . trim_start_matches ( "release:" ) . trim ( ) ;
427427 let my_version = channel:: CFG_RELEASE_NUM ;
428428 if local_release. split ( '.' ) . take ( 2 ) . eq ( my_version. split ( '.' ) . take ( 2 ) ) {
429429 build. verbose ( & format ! ( "auto-detected local-rebuild {}" , local_release) ) ;
You can’t perform that action at this time.
0 commit comments