forked from extern/nushell
Cleanup code in get and nu-value-ext (#2563)
* Cleanup code in get and nu-value-ext * Remove unnecessary return statements from get
This commit is contained in:
@ -190,8 +190,8 @@ mod tests {
|
||||
|
||||
fn error_callback(
|
||||
reason: &'static str,
|
||||
) -> impl FnOnce((&Value, &PathMember, ShellError)) -> ShellError {
|
||||
move |(_obj_source, _column_path_tried, _err)| ShellError::unimplemented(reason)
|
||||
) -> impl FnOnce(&Value, &PathMember, ShellError) -> ShellError {
|
||||
move |_obj_source, _column_path_tried, _err| ShellError::unimplemented(reason)
|
||||
}
|
||||
|
||||
fn column_path(paths: &[Value]) -> Result<Tagged<ColumnPathValue>, ShellError> {
|
||||
|
Reference in New Issue
Block a user