nushell/crates/nu-command/src/debug
Ian Manske 93096a07aa
Implement Display for CellPath (#11023)
# Description
Because `CellPath::into_string` takes a borrowed `self`, I renamed it to
`to_string` to follow Rust [API
guidelines](https://rust-lang.github.io/api-guidelines/naming.html#ad-hoc-conversions-follow-as_-to_-into_-conventions-c-conv).
This then triggered the clippy lint
[inherent_to_string](https://rust-lang.github.io/rust-clippy/master/index.html#/inherent_to_string),
which is... correct! The current `CellPath::into_string` is being used
as if it were the `Display` implementation for `CellPath`.

# User-Facing Changes
Breaking API change for `nu-protocol`, since `CellPath::into_string` was
removed.
2023-11-10 21:12:51 +01:00
..
ast.rs Use long options for debug (#10621) 2023-10-06 18:54:15 +02:00
debug_.rs Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00
explain.rs Implement Display for CellPath (#11023) 2023-11-10 21:12:51 +01:00
info.rs Make debug info lazy (#10728) 2023-10-24 12:48:05 -05:00
inspect_table.rs Use Record::get instead of Value functions (#10925) 2023-11-08 21:47:37 +01:00
inspect.rs throw an error instead of a panic if no input is provided to inspect (#9259) 2023-05-22 13:54:04 -05:00
metadata.rs Finish removing profile command and related data (#10807) 2023-10-22 14:06:53 +03:00
mod.rs Finish removing profile command and related data (#10807) 2023-10-22 14:06:53 +03:00
timeit.rs Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00
view_files.rs Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00
view_source.rs Reuse Closure type in Value::Closure (#10894) 2023-10-30 23:34:23 +01:00
view_span.rs Use long options for debug (#10621) 2023-10-06 18:54:15 +02:00
view.rs Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00