From 55c5b384b6ca2634fcea1fe3564f35107f3ebb4e Mon Sep 17 00:00:00 2001 From: Tshepang Mbambo Date: Tue, 14 Feb 2023 08:44:23 +0200 Subject: [PATCH] use actual names (#1594) --- src/SUMMARY.md | 2 +- src/rustc-driver.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SUMMARY.md b/src/SUMMARY.md index 24af3bed5..d07facc38 100644 --- a/src/SUMMARY.md +++ b/src/SUMMARY.md @@ -75,7 +75,7 @@ - [Prologue](./part-3-intro.md) - [Command-line arguments](./cli.md) -- [The Rustc Driver and Interface](./rustc-driver.md) +- [rustc_driver and rustc_interface](./rustc-driver.md) - [Example: Type checking](./rustc-driver-interacting-with-the-ast.md) - [Example: Getting diagnostics](./rustc-driver-getting-diagnostics.md) - [Syntax and the AST](./syntax-intro.md) diff --git a/src/rustc-driver.md b/src/rustc-driver.md index cef50111d..192811da1 100644 --- a/src/rustc-driver.md +++ b/src/rustc-driver.md @@ -1,4 +1,4 @@ -# The Rustc Driver and Interface +# `rustc_driver` and `rustc_interface` The [`rustc_driver`] is essentially `rustc`'s `main()` function. It acts as the glue for running the various phases of the compiler in the correct order,