From 45fc91cc470fa91d5b8905fea2cab4d42bbe72b3 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 20 Feb 2019 16:24:39 +0300 Subject: rearrange modules in a suggestd reading order --- crates/ra_syntax/src/lib.rs | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'crates/ra_syntax/src/lib.rs') diff --git a/crates/ra_syntax/src/lib.rs b/crates/ra_syntax/src/lib.rs index edd5b4a28..b12282b39 100644 --- a/crates/ra_syntax/src/lib.rs +++ b/crates/ra_syntax/src/lib.rs @@ -16,18 +16,19 @@ #![allow(missing_docs)] //#![warn(unreachable_pub)] // rust-lang/rust#47816 -pub mod algo; -pub mod ast; +mod syntax_kinds; +mod syntax_node; +mod syntax_text; +mod syntax_error; mod parsing; mod string_lexing; -mod syntax_kinds; -/// Utilities for simple uses of the parser. -pub mod utils; mod validation; -mod syntax_node; mod ptr; -mod syntax_error; -mod syntax_text; + +pub mod algo; +pub mod ast; +/// Utilities for simple uses of the parser. +pub mod utils; pub use rowan::{SmolStr, TextRange, TextUnit}; pub use crate::{ -- cgit v1.2.3