Skip to content

Commit 1b6e01b

Browse files
Update candidate-preference.md
1 parent 84404a9 commit 1b6e01b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/doc/rustc-dev-guide/src/solve/candidate-preference.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ fn overflow<T: Trait>() {
9595
```
9696

9797
This preference causes a lot of issues. See [#24066]. Most of the
98-
issues are caused by prefering where-bounds over impls even if the where-bound guides type inference:
98+
issues are caused by preferring where-bounds over impls even if the where-bound guides type inference:
9999
```rust
100100
trait Trait<T> {
101101
fn call_me(&self, x: T) {}
@@ -424,4 +424,4 @@ where
424424
[`fn assemble_and_merge_candidates`]: https://github.com/rust-lang/rust/blob/e3ee7f7aea5b45af3b42b5e4713da43876a65ac9/compiler/rustc_next_trait_solver/src/solve/assembly/mod.rs#L920-L1003
425425
[trait-system-refactor-initiative#76]: https://github.com/rust-lang/trait-system-refactor-initiative/issues/76
426426
[#24066]: https://github.com/rust-lang/rust/issues/24066
427-
[#133044]: https://github.com/rust-lang/rust/issues/133044
427+
[#133044]: https://github.com/rust-lang/rust/issues/133044

0 commit comments

Comments
 (0)