diff options
| author | Marc-Antoine Perennou <Marc-Antoine@Perennou.com> | 2019-01-30 09:43:56 +0100 |
|---|---|---|
| committer | Marc-Antoine Perennou <Marc-Antoine@Perennou.com> | 2019-01-30 09:43:57 +0100 |
| commit | 2cccf5962f3036bf79fbb0829015df009ae9ef4e (patch) | |
| tree | e236147d35fa025736675bd8f0d9622285e65ab3 /src/bootstrap/dist.rs | |
| parent | 4df66ba862bf1fbe838208fb856a16d9ddf6e82b (diff) | |
| download | rust-2cccf5962f3036bf79fbb0829015df009ae9ef4e.tar.gz rust-2cccf5962f3036bf79fbb0829015df009ae9ef4e.zip | |
rustbuild: fix build with rust 1.33
Fixes #57262 Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
Diffstat (limited to 'src/bootstrap/dist.rs')
| -rw-r--r-- | src/bootstrap/dist.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/dist.rs b/src/bootstrap/dist.rs index df34dfe4544..0c6e2131109 100644 --- a/src/bootstrap/dist.rs +++ b/src/bootstrap/dist.rs @@ -226,7 +226,7 @@ fn make_win_dist( let trim_chars: &[_] = &[' ', '=']; let value = line[(idx + 1)..] - .trim_left_matches(trim_chars) + .trim_start_matches(trim_chars) .split(';') .map(PathBuf::from); |
