From 9e31fab58cf085d04612876aee8dfbe6006cc027 Mon Sep 17 00:00:00 2001 From: Caleb Cartwright Date: Tue, 2 Nov 2021 21:10:31 -0500 Subject: [PATCH] docs(rustc_ast): update crate descriptions --- compiler/rustc_ast/README.md | 3 +-- compiler/rustc_ast/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/compiler/rustc_ast/README.md b/compiler/rustc_ast/README.md index dd407dba1f4..b2b90fed033 100644 --- a/compiler/rustc_ast/README.md +++ b/compiler/rustc_ast/README.md @@ -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: diff --git a/compiler/rustc_ast/src/lib.rs b/compiler/rustc_ast/src/lib.rs index e3c610585d9..2a165e700a6 100644 --- a/compiler/rustc_ast/src/lib.rs +++ b/compiler/rustc_ast/src/lib.rs @@ -1,4 +1,4 @@ -//! The Rust parser and macro expander. +//! The Rust Abstract Syntax Tree (AST). //! //! # Note //!