docs(rustc_ast): update crate descriptions

This commit is contained in:
Caleb Cartwright 2021-11-02 21:10:31 -05:00
parent 18bc4bee97
commit 9e31fab58c
2 changed files with 2 additions and 3 deletions

View File

@ -1,6 +1,5 @@
The `rustc_ast` crate contains those things concerned purely with syntax
that is, the AST ("abstract syntax tree"), parser, pretty-printer,
lexer, macro expander, and utilities for traversing ASTs.
that is, the AST ("abstract syntax tree"), along with some definitions for tokens and token streams, data structures/traits for mutating ASTs, and shared definitions for other AST-related parts of the compiler (like the lexer and macro-expansion).
For more information about how these things work in rustc, see the
rustc dev guide:

View File

@ -1,4 +1,4 @@
//! The Rust parser and macro expander.
//! The Rust Abstract Syntax Tree (AST).
//!
//! # Note
//!