From a0051b33a20c3273c593fecae6c391bf4c37c88b Mon Sep 17 00:00:00 2001 From: 132ikl <132@ikl.sh> Date: Wed, 2 Apr 2025 18:32:06 -0400 Subject: [PATCH] Update crates/nu-command/src/filters/where_.rs Co-authored-by: Douglas <32344964+NotTheDr01ds@users.noreply.github.com> --- crates/nu-command/src/filters/where_.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/nu-command/src/filters/where_.rs b/crates/nu-command/src/filters/where_.rs index d9caab1050..9c61caa9e5 100644 --- a/crates/nu-command/src/filters/where_.rs +++ b/crates/nu-command/src/filters/where_.rs @@ -24,7 +24,7 @@ For example, where type == dir is equivalent to where $it.type == dir. This expa When using a closure, the element is passed as an argument and as pipeline input to the closure. -While where supports closure literals, they can not be read from a variable. To filter using a closure stored in a variable, use the filter command."# +`where` supports closure literals, but not closures stored in a variable. To filter using a closure stored in a variable, use the `filter` command."# } fn command_type(&self) -> CommandType {