Skip to content

Commit 9e31fab

Browse files
docs(rustc_ast): update crate descriptions
1 parent 18bc4be commit 9e31fab

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

compiler/rustc_ast/README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
The `rustc_ast` crate contains those things concerned purely with syntax
2-
– that is, the AST ("abstract syntax tree"), parser, pretty-printer,
3-
lexer, macro expander, and utilities for traversing ASTs.
2+
– 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).
43

54
For more information about how these things work in rustc, see the
65
rustc dev guide:

compiler/rustc_ast/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! The Rust parser and macro expander.
1+
//! The Rust Abstract Syntax Tree (AST).
22
//!
33
//! # Note
44
//!

0 commit comments

Comments
 (0)