Skip to content

Commit

Permalink
Auto merge of #90518 - calebcartwright:rustc-ast-docs, r=wesleywiser
Browse files Browse the repository at this point in the history
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`)
  • Loading branch information
bors committed Nov 4, 2021
2 parents 4061c04 + 9e31fab commit 27143a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions compiler/rustc_ast/README.md
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_ast/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! The Rust parser and macro expander.
//! The Rust Abstract Syntax Tree (AST).
//!
//! # Note
//!
Expand Down

0 comments on commit 27143a9

Please sign in to comment.