Clippy fix

This commit is contained in:
sholderbach 2024-08-05 11:58:33 +02:00
parent a3b99b482d
commit 92f341fb73

View File

@ -148,7 +148,7 @@ fn get_documentation(
format!( format!(
" {help_subcolor_one}\"{}\" + {RESET}<{help_subcolor_two}{}{RESET}>: {}", " {help_subcolor_one}\"{}\" + {RESET}<{help_subcolor_two}{}{RESET}>: {}",
String::from_utf8_lossy(kw), String::from_utf8_lossy(kw),
document_shape(&shape), document_shape(shape),
positional.desc positional.desc
) )
} }
@ -169,7 +169,7 @@ fn get_documentation(
format!( format!(
" {help_subcolor_one}\"{}\" + {RESET}<{help_subcolor_two}{}{RESET}>: {} (optional)", " {help_subcolor_one}\"{}\" + {RESET}<{help_subcolor_two}{}{RESET}>: {} (optional)",
String::from_utf8_lossy(kw), String::from_utf8_lossy(kw),
document_shape(&shape), document_shape(shape),
positional.desc positional.desc
) )
} }