nushell/crates/nu-cli/src
Stefan Holderbach e5d38dcff6
Address lints from clippy for beta/nightly (#5709)
* Fix clippy lints in tests

* Replace `format!` in `.push_str()` with `write!`

Stylistically that might be a bit rough but elides an allocation.

Fallibility of allocation is more explicit, but ignored with `let _ =`
like in the clippy example:

https://rust-lang.github.io/rust-clippy/master/index.html#format_push_string

* Remove unused lifetime

* Fix macro crate relative import

* Derive `Eq` for `PartialEq` with `Eq` members

https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq

* Remove unnnecessary `.to_string()` for Cow<str>

* Remove `.to_string()` for `tendril::Tendril`

Implements `Deref<Target = str>`
2022-06-04 18:47:36 +12:00
..
completions add case_sensitive_completions config option (#5646) 2022-05-26 09:22:20 -05:00
menus Address lints from clippy for beta/nightly (#5709) 2022-06-04 18:47:36 +12:00
commands.rs add the ability to change table mode when running script (#5520) 2022-05-12 07:27:44 -05:00
config_files.rs Overlays (#5375) 2022-05-08 07:39:22 +12:00
eval_file.rs refactor all write_alls to ensure flushing (#5567) 2022-05-17 13:28:18 -05:00
lib.rs Error printing changes for watch (#5389) 2022-05-01 19:33:41 +12:00
nu_highlight.rs Move config to be an env var (#5230) 2022-04-19 10:28:01 +12:00
print.rs make print flush (#5566) 2022-05-17 09:27:12 -05:00
prompt_update.rs adjust where prompt markers go (#5491) 2022-05-10 16:33:18 -05:00
prompt.rs adjust where prompt markers go (#5491) 2022-05-10 16:33:18 -05:00
reedline_config.rs Move help menu to canonical F1 binding (#5510) 2022-05-19 08:24:04 -05:00
repl.rs Minor fixes to shell integation in repl. (#5701) 2022-06-02 17:57:19 -05:00
syntax_highlight.rs nu-cli: directory syntax shape + completions (#5299) 2022-04-22 15:18:51 -05:00
util.rs Don't report error when cwd is not exists. (#5590) 2022-05-20 07:03:03 -05:00
validation.rs Add an alias denylist for expansions (#4871) 2022-03-19 08:03:57 +13:00