diff options
| author | bors <bors@rust-lang.org> | 2023-09-17 08:11:41 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-09-17 08:11:41 +0000 |
| commit | cdd182cbb2d11bb25d2dabdd752cc5980e0ac059 (patch) | |
| tree | cb4935cce30f4059fcc5f395a557016fb81cb8b1 /src/bootstrap/builder.rs | |
| parent | 3ecc563628d0ca62c3b6983c1cd05c4d4a0002b2 (diff) | |
| parent | 9971008b8d83380797df2ab586fcfcfb04f4cfb9 (diff) | |
| download | rust-cdd182cbb2d11bb25d2dabdd752cc5980e0ac059.tar.gz rust-cdd182cbb2d11bb25d2dabdd752cc5980e0ac059.zip | |
Auto merge of #115514 - onur-ozkan:bootstrap-codebase-improvements, r=albertlarsan68
optimize and cleanup bootstrap source I suggest reviewing this commit by commit.
Diffstat (limited to 'src/bootstrap/builder.rs')
| -rw-r--r-- | src/bootstrap/builder.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/builder.rs b/src/bootstrap/builder.rs index 91fa5ec6633..50f1007e1ff 100644 --- a/src/bootstrap/builder.rs +++ b/src/bootstrap/builder.rs @@ -525,7 +525,7 @@ impl<'a> ShouldRun<'a> { .iter() .map(|p| { // assert only if `p` isn't submodule - if !submodules_paths.iter().find(|sm_p| p.contains(*sm_p)).is_some() { + if submodules_paths.iter().find(|sm_p| p.contains(*sm_p)).is_none() { assert!( self.builder.src.join(p).exists(), "`should_run.paths` should correspond to real on-disk paths - use `alias` if there is no relevant path: {}", |
