mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 04:15:08 +02:00
Replace crate visibility identifier with pub(crate)
Result of running: find src -name *.rs -exec sed -i 's/crate /pub(crate) /g' {} \;
This commit is contained in:
@ -16,14 +16,14 @@ pub struct Scope {
|
||||
}
|
||||
|
||||
impl Scope {
|
||||
crate fn empty() -> Scope {
|
||||
pub(crate) fn empty() -> Scope {
|
||||
Scope {
|
||||
it: Value::nothing().tagged_unknown(),
|
||||
vars: IndexMap::new(),
|
||||
}
|
||||
}
|
||||
|
||||
crate fn it_value(value: Tagged<Value>) -> Scope {
|
||||
pub(crate) fn it_value(value: Tagged<Value>) -> Scope {
|
||||
Scope {
|
||||
it: value,
|
||||
vars: IndexMap::new(),
|
||||
@ -31,7 +31,7 @@ impl Scope {
|
||||
}
|
||||
}
|
||||
|
||||
crate fn evaluate_baseline_expr(
|
||||
pub(crate) fn evaluate_baseline_expr(
|
||||
expr: &Expression,
|
||||
registry: &CommandRegistry,
|
||||
scope: &Scope,
|
||||
|
@ -1,3 +1,3 @@
|
||||
crate mod evaluator;
|
||||
pub(crate) mod evaluator;
|
||||
|
||||
crate use evaluator::{evaluate_baseline_expr, Scope};
|
||||
pub(crate) use evaluator::{evaluate_baseline_expr, Scope};
|
||||
|
Reference in New Issue
Block a user