Skip to content

Commit b41dc49

Browse files
committed
Fix some broken rustc-dev-guide links
1 parent 51dc693 commit b41dc49

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,4 @@ of the terminology used in chalk.
9292
### Trait solving in rustc-dev-guide
9393
The rustc-dev-guide describes [new-style trait solving][trait-solving], which is slowly replacing the old trait resolution.
9494

95-
[trait-solving]: https://rustc-dev-guide.rust-lang.org/traits/index.html
95+
[trait-solving]: https://rustc-dev-guide.rust-lang.org/traits/chalk.html

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ See the [Chalk book](https://rust-lang.github.io/chalk/book/) for more informati
1111

1212
## FAQ
1313

14-
**How does chalk relate to rustc?** The plan is to have rustc use the `chalk-engine` crate (in this repo), which defines chalk's solver. The rest of chalk can then be considered an elaborate unit testing harness. For more details, see [the Traits chapter of the rustc-dev-guide](https://rustc-dev-guide.rust-lang.org/traits/index.html).
14+
**How does chalk relate to rustc?** The plan is to have rustc use the `chalk-engine` crate (in this repo), which defines
15+
chalk's solver. The rest of chalk can then be considered an elaborate unit testing harness. For more details, see
16+
[this chapter of the rustc-dev-guide](https://rustc-dev-guide.rust-lang.org/traits/chalk.html).
1517

1618
**Where does the name come from?** `chalk` is named after [Chalkidiki], the area where [Aristotle] was
1719
born. Since Prolog is a logic programming language, this seemed a

chalk-engine/src/context.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ pub trait Context: Clone + Debug {
4444

4545
/// A canonicalized `GoalInEnvironment` -- that is, one where all
4646
/// free inference variables have been bound into the canonical
47-
/// binder. See [the rustc-dev-guide] for more information.
47+
/// binder. See [the chalk book] for more information.
4848
///
49-
/// [the rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/traits/canonicalization.html
49+
/// [the chalk book]: https://rust-lang.github.io/chalk/book/canonical_queries/canonicalization.html
5050
type CanonicalGoalInEnvironment: Debug;
5151

5252
/// A u-canonicalized `GoalInEnvironment` -- this is one where the

chalk-engine/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
//! An alternative solver based around the SLG algorithm, which
22
//! implements the well-formed semantics. For an overview of how the solver
3-
//! works, see [The On-Demand SLG Solver][guide] in the rustc-dev-guide.
3+
//! works, see [The On-Demand SLG Solver][guide] in the chalk book.
44
//!
5-
//! [guide]: https://rustc-dev-guide.rust-lang.org/traits/slg.html
5+
//! [guide]: https://rust-lang.github.io/chalk/book/engine/slg.html
66
//!
77
//! This algorithm is very closed based on the description found in the
88
//! following paper, which I will refer to in the comments as EWFS:

0 commit comments

Comments
 (0)