Repository: diesel-rs/diesel
File: diesel/src/query_builder/mod.rs (Rust)

Code before:
#[macro_use]
mod clause_macro;

mod ast_pass;
pub mod bind_collector;
mod debug_query;
mod delete_statement;
mod distinct_clause;
#[doc(hidden)]
pub mod functions;
mod group_by_clause;
mod insert_statement;
pub(crate) mod limit_clause;
pub(crate) mod limit_offset_clause;
pub(crate) mod locking_clause;
#[doc(hidden)]
pub mod nodes;
pub(crate) mod offset_clause;
mod order_clause;
mod returning_clause;
pub(crate) mod select_clause;
mod select_statement;
mod sql_query;
mod update_statement;
pub(crate) mod upsert;
pub use self::upsert::on_conflict_target_decorations::DecoratableTarget;
mod where_clause;

pub use self::ast_pass::AstPass;
pub use self::bind_collector::BindCollector;
pub use self::debug_query::DebugQuery;
pub use self::delete_statement::{BoxedDeleteStatement, DeleteStatement};
#[doc(inline)]
pub use self::insert_statement::{
    IncompleteInsertStatement, InsertStatement, UndecoratedInsertRecord, ValuesClause,
};
pub use self::query_id::QueryId;
#[doc(inline)]
pub use self::select_clause::{
    IntoBoxedSelectClause, SelectClauseExpression, SelectClauseQueryFragment,
};
#[doc(hidden)]
pub use self::select_statement::{BoxedSelectStatement, SelectStatement};
pub use self::sql_query::{BoxedSqlQuery, SqlQuery};
#[doc(inline)]
pub use self::update_statement::{
    AsChangeset, BoxedUpdateStatement, IntoUpdateTarget, UpdateStatement, UpdateTarget,
};

pub use self::limit_clause::{LimitClause, NoLimitClause};
pub use self::limit_offset_clause::{BoxedLimitOffsetClause, LimitOffsetClause};

Review comment (suggestion):
This `pub use` belongs down to the `pub use` block starting in line 37.

Code after:
#[macro_use]
mod clause_macro;

mod ast_pass;
pub mod bind_collector;
mod debug_query;
mod delete_statement;
mod distinct_clause;
#[doc(hidden)]
pub mod functions;
mod group_by_clause;
mod insert_statement;
pub(crate) mod limit_clause;
pub(crate) mod limit_offset_clause;
pub(crate) mod locking_clause;
#[doc(hidden)]
pub mod nodes;
pub(crate) mod offset_clause;
mod order_clause;
mod returning_clause;
pub(crate) mod select_clause;
mod select_statement;
mod sql_query;
mod update_statement;
pub(crate) mod upsert;
mod where_clause;

pub use self::ast_pass::AstPass;
pub use self::bind_collector::BindCollector;
pub use self::debug_query::DebugQuery;
pub use self::delete_statement::{BoxedDeleteStatement, DeleteStatement};
#[doc(inline)]
pub use self::insert_statement::{
    IncompleteInsertStatement, InsertStatement, UndecoratedInsertRecord, ValuesClause,
};
pub use self::query_id::QueryId;
#[doc(inline)]
pub use self::select_clause::{
    IntoBoxedSelectClause, SelectClauseExpression, SelectClauseQueryFragment,
};
#[doc(hidden)]
pub use self::select_statement::{BoxedSelectStatement, SelectStatement};
pub use self::sql_query::{BoxedSqlQuery, SqlQuery};
#[doc(inline)]
pub use self::update_statement::{
    AsChangeset, BoxedUpdateStatement, IntoUpdateTarget, UpdateStatement, UpdateTarget,
};
pub use self::upsert::on_conflict_target_decorations::DecoratableTarget;

pub use self::limit_clause::{LimitClause, NoLimitClause};
pub use self::limit_offset_clause::{BoxedLimitOffsetClause, LimitOffsetClause};