nushell/crates/nu-cmd-lang/src
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
..
core_commands Use Record::get instead of Value functions (#10925) 2023-11-08 21:47:37 +01:00
default_context.rs Allow exporting extern-wrapped (#10025) 2023-08-18 20:45:33 +03:00
example_support.rs Implement Display for CellPath (#11023) 2023-11-10 21:12:51 +01:00
example_test.rs Remove Signature.vectorizes_over_list entirely (#9777) 2023-07-26 23:34:43 +02:00
lib.rs cratification: Example support (#8231) 2023-02-27 13:58:56 -08:00