]> git.lizzy.rs Git - rust.git/commitdiff
docs(rustc_ast): update crate descriptions
authorCaleb Cartwright <caleb.cartwright@outlook.com>
Wed, 3 Nov 2021 02:10:31 +0000 (21:10 -0500)
committerCaleb Cartwright <caleb.cartwright@outlook.com>
Wed, 3 Nov 2021 02:11:17 +0000 (21:11 -0500)
compiler/rustc_ast/README.md
compiler/rustc_ast/src/lib.rs

index dd407dba1f4cca03b3e19bce687b40e49a3ead68..b2b90fed033b3f1192fc3e75f065a957d14b72e6 100644 (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:
index e3c610585d978e32c8ef8071aa0ffda993431310..2a165e700a6a310f02bdf61f441aa8da50e7b529 100644 (file)
@@ -1,4 +1,4 @@
-//! The Rust parser and macro expander.
+//! The Rust Abstract Syntax Tree (AST).
 //!
 //! # Note
 //!