diff options
| author | bors <bors@rust-lang.org> | 2022-10-14 10:54:32 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-10-14 10:54:32 +0000 |
| commit | 9b0a099dfc9a97ecd10adb319396c731c4b2d169 (patch) | |
| tree | b95ae3a4db742d337565230878b5ca00b86008e5 /compiler/rustc_data_structures/src/graph/vec_graph | |
| parent | 32717603f61a566ff0b8293ef3177cb7c4f50fa9 (diff) | |
| parent | 7cf09c57a21110a4ef76ee4fe1cba960806fd42d (diff) | |
| download | rust-9b0a099dfc9a97ecd10adb319396c731c4b2d169.tar.gz rust-9b0a099dfc9a97ecd10adb319396c731c4b2d169.zip | |
Auto merge of #103048 - Dylan-DPC:rollup-47r62js, r=Dylan-DPC
Rollup of 8 pull requests
Successful merges:
- #102847 (impl AsFd and AsRawFd for io::{Stdin, Stdout, Stderr}, not the sys versions)
- #102856 (Only test duplicate inherent impl items in a single place)
- #102914 (Migrate css highlight without change)
- #102938 (Move some tests to more reasonable directories)
- #103015 (fix a typo)
- #103018 (More dupe word typos)
- #103025 (rustdoc: remove unused CSS `.search-container > *`)
- #103031 (Suppress irrefutable let patterns lint for prefixes in match guards)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_data_structures/src/graph/vec_graph')
| -rw-r--r-- | compiler/rustc_data_structures/src/graph/vec_graph/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_data_structures/src/graph/vec_graph/mod.rs b/compiler/rustc_data_structures/src/graph/vec_graph/mod.rs index 3d91bcade59..e8efbd09a2c 100644 --- a/compiler/rustc_data_structures/src/graph/vec_graph/mod.rs +++ b/compiler/rustc_data_structures/src/graph/vec_graph/mod.rs @@ -29,8 +29,8 @@ impl<N: Idx + Ord> VecGraph<N> { // Store the *target* of each edge into `edge_targets`. let edge_targets: Vec<N> = edge_pairs.iter().map(|&(_, target)| target).collect(); - // Create the *edge starts* array. We are iterating over over - // the (sorted) edge pairs. We maintain the invariant that the + // Create the *edge starts* array. We are iterating over the + // (sorted) edge pairs. We maintain the invariant that the // length of the `node_starts` array is enough to store the // current source node -- so when we see that the source node // for an edge is greater than the current length, we grow the |
