From 6c41253a473728451283e20bef3498fdfe797243 Mon Sep 17 00:00:00 2001 From: Alexandre Gagnon Date: Sun, 27 Apr 2014 22:05:41 -0400 Subject: Fix repeated module documentation --- src/libsyntax/parse/classify.rs | 6 +++--- src/libsyntax/parse/common.rs | 2 ++ src/libsyntax/parse/mod.rs | 5 ----- 3 files changed, 5 insertions(+), 8 deletions(-) (limited to 'src/libsyntax') diff --git a/src/libsyntax/parse/classify.rs b/src/libsyntax/parse/classify.rs index d6dcb956f25..b160593b049 100644 --- a/src/libsyntax/parse/classify.rs +++ b/src/libsyntax/parse/classify.rs @@ -8,9 +8,9 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -/* - Predicates on exprs and stmts that the pretty-printer and parser use - */ +//! Routines the parser uses to classify AST nodes + +// Predicates on exprs and stmts that the pretty-printer and parser use use ast; diff --git a/src/libsyntax/parse/common.rs b/src/libsyntax/parse/common.rs index 0d40638d3a7..3c3f0c7a820 100644 --- a/src/libsyntax/parse/common.rs +++ b/src/libsyntax/parse/common.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +//! Common routines shared by parser mods + use parse::token; // SeqSep : a sequence separator (token) diff --git a/src/libsyntax/parse/mod.rs b/src/libsyntax/parse/mod.rs index 122cc37dfb6..0d3ae3b5cb8 100644 --- a/src/libsyntax/parse/mod.rs +++ b/src/libsyntax/parse/mod.rs @@ -28,13 +28,8 @@ pub mod token; pub mod comments; pub mod attr; -/// Common routines shared by parser mods pub mod common; - -/// Routines the parser uses to classify AST nodes pub mod classify; - -/// Reporting obsolete syntax pub mod obsolete; // info about a parsing session. -- cgit 1.4.1-3-g733a5