From 92f341fb734d12e55c35e79bf6083c66946b4da3 Mon Sep 17 00:00:00 2001 From: sholderbach Date: Mon, 5 Aug 2024 11:58:33 +0200 Subject: [PATCH] Clippy fix --- crates/nu-engine/src/documentation.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/nu-engine/src/documentation.rs b/crates/nu-engine/src/documentation.rs index 651a9ee900..69af1daa92 100644 --- a/crates/nu-engine/src/documentation.rs +++ b/crates/nu-engine/src/documentation.rs @@ -148,7 +148,7 @@ fn get_documentation( format!( " {help_subcolor_one}\"{}\" + {RESET}<{help_subcolor_two}{}{RESET}>: {}", String::from_utf8_lossy(kw), - document_shape(&shape), + document_shape(shape), positional.desc ) } @@ -169,7 +169,7 @@ fn get_documentation( format!( " {help_subcolor_one}\"{}\" + {RESET}<{help_subcolor_two}{}{RESET}>: {} (optional)", String::from_utf8_lossy(kw), - document_shape(&shape), + document_shape(shape), positional.desc ) }