Skip to content

Commit 27143a9

Browse files
committed
Auto merge of #90518 - calebcartwright:rustc-ast-docs, r=wesleywiser
update rustc_ast crate descriptions in documentation I noticed this the other day and figured I'd suggest a refresh. It seems like a relic from the days of `libsyntax` that got missed as things were split out into separate crates, since the current documentation text references elements that were moved into their own respective crates (e.g. `rustc_parse`)
2 parents 4061c04 + 9e31fab commit 27143a9

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Diff for: 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:

Diff for: 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)