mirror of
https://github.com/nushell/nushell.git
synced 2025-05-17 00:10:53 +02:00
# Description Make `echo` const. - It's a very simple command, there is no reason for it to not be const. - It's return type `any` is utilized in tests to type erase values, this might be useful for testing const evaluation too. - The upcoming custom command attribute feature can make use of it as a stopgap replacement for `const def` commands. # User-Facing Changes `echo` can be used in const contexts. # Tests + Formatting # After Submitting N/A |
||
---|---|---|
.. | ||
core_commands | ||
default_context.rs | ||
example_support.rs | ||
example_test.rs | ||
lib.rs |