From b6f4ef1d86f9a2596977f628b9ef3e9e7530fb6d Mon Sep 17 00:00:00 2001 From: sholderbach Date: Sun, 4 Aug 2024 23:16:49 +0200 Subject: [PATCH] Minor docstring --- crates/nu-engine/src/documentation.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/nu-engine/src/documentation.rs b/crates/nu-engine/src/documentation.rs index 741180ef6a..7931280b23 100644 --- a/crates/nu-engine/src/documentation.rs +++ b/crates/nu-engine/src/documentation.rs @@ -459,7 +459,7 @@ fn get_argument_for_color_value( } } -// document shape helps showing more useful information +/// Make syntax shape presentable by stripping custom completer info pub fn document_shape(shape: SyntaxShape) -> SyntaxShape { match shape { SyntaxShape::CompleterWrapper(inner_shape, _) => *inner_shape,