Skip to content

Commit

Permalink
Auto merge of rust-lang#13489 - linyihai:typo-two, r=weihanglo
Browse files Browse the repository at this point in the history
chore: fixed a typo(two->too)

### What does this PR try to resolve?
typo: `for two long` corrected by `for too long`

### How should we test and review this PR?

### Additional information
  • Loading branch information
bors committed Feb 26, 2024
2 parents f415cb2 + 4ca0524 commit cc6e326
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cargo/core/resolver/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ impl ResolverProgress {
// The largest test in our suite takes less then 5000 ticks
// with all the algorithm improvements.
// If any of them are removed then it takes more than I am willing to measure.
// So lets fail the test fast if we have ben running for two long.
// So lets fail the test fast if we have been running for too long.
assert!(
self.ticks < 50_000,
"got to 50_000 ticks in {:?}",
Expand All @@ -78,7 +78,7 @@ impl ResolverProgress {
// The largest test in our suite takes less then 30 sec
// with all the improvements to how fast a tick can go.
// If any of them are removed then it takes more than I am willing to measure.
// So lets fail the test fast if we have ben running for two long.
// So lets fail the test fast if we have been running for too long.
if self.ticks % 1000 == 0 {
assert!(
self.start.elapsed() - self.deps_time
Expand Down

0 comments on commit cc6e326

Please sign in to comment.