nushell/crates/nu-protocol/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
..
ast Address lints from clippy for beta/nightly (#5709) 2022-06-04 18:47:36 +12:00
engine Overlay keep (#5629) 2022-05-25 09:22:17 +12:00
value Address lints from clippy for beta/nightly (#5709) 2022-06-04 18:47:36 +12:00
cli_error.rs Change miette theme based on ANSI config (#5588) 2022-05-19 13:59:14 -05:00
config.rs add case_sensitive_completions config option (#5646) 2022-05-26 09:22:20 -05:00
example.rs Start support for commandline args to nu itself (#851) 2022-01-27 01:42:39 +11:00
exportable.rs Add export alias and export extern (#4878) 2022-03-20 07:58:01 +13:00
id.rs Overlays (#5375) 2022-05-08 07:39:22 +12:00
lib.rs Overlays (#5375) 2022-05-08 07:39:22 +12:00
module.rs Overlays (#5375) 2022-05-08 07:39:22 +12:00
pipeline_data.rs feat: Add sensitive flag to get, fix #4295 (#5685) 2022-06-01 08:34:42 -05:00
shell_error.rs Overlay keep (#5629) 2022-05-25 09:22:17 +12:00
signature.rs Address lints from clippy for beta/nightly (#5709) 2022-06-04 18:47:36 +12:00
span.rs Remove 'empty' block support reminders, for now. (#5214) 2022-04-30 22:32:30 -05:00
syntax_shape.rs nu-cli: directory syntax shape + completions (#5299) 2022-04-22 15:18:51 -05:00
ty.rs Improve describe to be more accurate (#5116) 2022-04-07 16:34:09 +12:00
variable.rs Add support for var decl spans (#4787) 2022-03-09 04:42:19 -05:00