Skip to content

Commit

Permalink
Sort non-macro_use modules alphabetically
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Nov 11, 2016
1 parent de08ab5 commit 631cb8c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ mod nom;
#[macro_use]
mod helper;

#[cfg(feature = "parsing")]
mod escape;
#[cfg(feature = "aster")]
pub mod aster;

mod attr;
pub use attr::{Attribute, AttrStyle, MetaItem, NestedMetaItem};
Expand All @@ -31,6 +31,9 @@ pub use constant::ConstExpr;
mod data;
pub use data::{Field, Variant, VariantData, Visibility};

#[cfg(feature = "parsing")]
mod escape;

#[cfg(feature = "full")]
mod expr;
#[cfg(feature = "full")]
Expand All @@ -43,11 +46,6 @@ pub use generics::{Generics, Lifetime, LifetimeDef, TraitBoundModifier, TyParam,
#[cfg(feature = "printing")]
pub use generics::{ImplGenerics, TyGenerics};

#[cfg(feature = "full")]
mod krate;
#[cfg(feature = "full")]
pub use krate::Crate;

mod ident;
pub use ident::Ident;

Expand All @@ -58,6 +56,11 @@ pub use item::{Constness, Defaultness, FnArg, FnDecl, ForeignItemKind, ForeignIt
ImplItem, ImplItemKind, ImplPolarity, Item, ItemKind, MethodSig, PathListItem,
TraitItem, TraitItemKind, ViewPath};

#[cfg(feature = "full")]
mod krate;
#[cfg(feature = "full")]
pub use krate::Crate;

mod lit;
pub use lit::{FloatTy, IntTy, Lit, StrStyle};

Expand Down Expand Up @@ -85,9 +88,6 @@ pub use ty::{Abi, AngleBracketedParameterData, BareFnArg, BareFnTy, FunctionRetT
Mutability, ParenthesizedParameterData, Path, PathParameters, PathSegment,
PolyTraitRef, QSelf, Ty, TypeBinding, Unsafety};

#[cfg(feature = "aster")]
pub mod aster;

#[cfg(feature = "visit")]
pub mod visit;

Expand Down

0 comments on commit 631cb8c

Please sign in to comment.