diff --git a/crates/nu-protocol/src/eval_const.rs b/crates/nu-protocol/src/eval_const.rs index 15ad479e19..b387de4120 100644 --- a/crates/nu-protocol/src/eval_const.rs +++ b/crates/nu-protocol/src/eval_const.rs @@ -17,6 +17,8 @@ use std::{ }; /// Create a Value for `$nu`. +// Note: When adding new constants to $nu, please update the doc at https://nushell.sh/book/special_variables.html +// or at least add a TODO/reminder issue in nushell.github.io so we don't lose track of it. pub(crate) fn create_nu_constant(engine_state: &EngineState, span: Span) -> Value { fn canonicalize_path(engine_state: &EngineState, path: &Path) -> PathBuf { #[allow(deprecated)]