nushell/crates/nu-test-support/src
WindSoilder 0c67d742f0
fix clippy (#10659)
This pr fix clippy warnings in latest clippy version(1.72.0):

Unfortunally it's not easy to handle for [try
fold](https://rust-lang.github.io/rust-clippy/master/index.html#/manual_try_fold)
warning in `start command`

Refer to known issue:
> This lint doesn’t take into account whether a function does something
on the failure case, i.e., whether short-circuiting will affect
behavior. Refactoring to try_fold is not desirable in those cases.

That's the case for our code, which does something on the failure case.

So this pr is making a little refactor on `try_commands`.
2023-10-10 03:31:15 +13:00
..
playground Deref &String arguments to &str where appropriate (#10321) 2023-09-12 14:06:56 +08:00
commands.rs Fix unit tests on Android (#10224) 2023-09-05 20:17:34 +12:00
fs.rs fix clippy (#10659) 2023-10-10 03:31:15 +13:00
lib.rs Document fn pipeline() used with nu! tests (#9609) 2023-07-05 13:19:54 +02:00
locale_override.rs Remove once_cell dependency from nu-test-support create. (#8568) 2023-03-22 19:36:52 +01:00
macros.rs fix clippy (#10659) 2023-10-10 03:31:15 +13:00
playground.rs Remove old nushell/merge engine-q 2022-02-07 14:54:06 -05:00