Skip to content

Commit cf5c7a2

Browse files
stepanchegfacebook-github-bot
authored andcommitted
Reorder mod/use
Summary: `rustfmt` unfortunately cannot reorder mod/use. So reorder them manually. Reviewed By: bobyangyf Differential Revision: D38553544 fbshipit-source-id: 92a08807d404c4eeccd15b269dd1fad2cfbfcbe5
1 parent 5915f2b commit cf5c7a2

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

starlark/src/eval/mod.rs

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818
//! Evaluate some code, typically done by creating an [`Evaluator`], then calling
1919
//! [`eval_module`](Evaluator::eval_module).
2020
21+
pub(crate) mod bc;
22+
pub(crate) mod compiler;
23+
pub(crate) mod runtime;
24+
2125
use std::intrinsics::unlikely;
2226
use std::mem;
2327
use std::time::Instant;
@@ -31,9 +35,11 @@ pub use runtime::file_loader::ReturnFileLoader;
3135
pub use runtime::params::ParametersParser;
3236
pub use runtime::params::ParametersSpec;
3337
pub use runtime::params::ParametersSpecBuilder;
38+
pub use runtime::profile::ProfileMode;
3439

3540
use crate::collections::symbol_map::Symbol;
3641
use crate::environment::Globals;
42+
use crate::eval::compiler::def::DefInfo;
3743
use crate::eval::compiler::scope::CompilerAstMap;
3844
use crate::eval::compiler::scope::Scope;
3945
use crate::eval::compiler::scope::ScopeData;
@@ -42,17 +48,10 @@ use crate::eval::compiler::Compiler;
4248
use crate::eval::runtime::arguments::ArgNames;
4349
use crate::eval::runtime::arguments::ArgumentsFull;
4450
use crate::syntax::ast::AstModule;
51+
use crate::syntax::DialectTypes;
4552
use crate::values::docs::DocString;
4653
use crate::values::Value;
4754

48-
pub(crate) mod bc;
49-
pub(crate) mod compiler;
50-
pub(crate) mod runtime;
51-
pub use runtime::profile::ProfileMode;
52-
53-
use crate::eval::compiler::def::DefInfo;
54-
use crate::syntax::DialectTypes;
55-
5655
impl<'v, 'a> Evaluator<'v, 'a> {
5756
/// Evaluate an [`AstModule`] with this [`Evaluator`], modifying the in-scope
5857
/// [`Module`](crate::environment::Module) as appropriate.

0 commit comments

Comments
 (0)