mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 06:55:36 +02:00
Consolidate suggestions code (#2597)
This commit is contained in:
@ -105,7 +105,7 @@ impl Inc {
|
||||
&f,
|
||||
move |obj_source, column_path_tried, _| match did_you_mean(
|
||||
&obj_source,
|
||||
&column_path_tried,
|
||||
column_path_tried.as_string(),
|
||||
) {
|
||||
Some(suggestions) => ShellError::labeled_error(
|
||||
"Unknown column",
|
||||
|
Reference in New Issue
Block a user